Skip to content

Commit

Permalink
Document report options (inputs for chargeback)
Browse files Browse the repository at this point in the history
After spending 15 minutes of head scratching.
  • Loading branch information
isimluk committed Jan 5, 2017
1 parent d379d4c commit 2270d42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/chargeback/report_options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ class Chargeback
# ReportOptions are usualy stored in MiqReport.db_options[:options]
ReportOptions = Struct.new(
:interval, # daily | weekly | monthly
:interval_size,
:end_interval_offset,
:interval_size, # number of :intervals in the report (i.e. `12` months, `4` weeks)
:end_interval_offset, # report ends :intervals ago (i.e. `3` months ago, or `2` weeks ago)
:owner, # userid
:tenant_id,
:tag, # like /managed/environment/prod (Mutually exclusive with :user)
Expand Down

0 comments on commit 2270d42

Please sign in to comment.