Class: Shushu::RateCodeReport
Instance Attribute Summary collapse
-
#rate_code_slug ⇒ Object
Returns the value of attribute rate_code_slug.
Attributes inherited from Report
Instance Method Summary collapse
-
#initialize(rate_code_slug, from, to) ⇒ RateCodeReport
constructor
A new instance of RateCodeReport.
- #resource ⇒ Object
Methods inherited from Report
Constructor Details
#initialize(rate_code_slug, from, to) ⇒ RateCodeReport
Returns a new instance of RateCodeReport.
59 60 61 |
# File 'lib/models/report.rb', line 59 def initialize(rate_code_slug, from, to) @rate_code_slug, @from, @to = rate_code_slug, from, to end |
Instance Attribute Details
#rate_code_slug ⇒ Object
Returns the value of attribute rate_code_slug.
57 58 59 |
# File 'lib/models/report.rb', line 57 def rate_code_slug @rate_code_slug end |
Instance Method Details
#resource ⇒ Object
63 64 65 |
# File 'lib/models/report.rb', line 63 def resource "/rate_codes/#{rate_code_slug}/report" end |