Class: Stripe::ReportingService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::ReportingService
- Defined in:
- lib/stripe/services/reporting_service.rb
Instance Attribute Summary collapse
-
#report_runs ⇒ Object
readonly
Returns the value of attribute report_runs.
-
#report_types ⇒ Object
readonly
Returns the value of attribute report_types.
Instance Method Summary collapse
-
#initialize(requestor) ⇒ ReportingService
constructor
A new instance of ReportingService.
Methods inherited from StripeService
Constructor Details
#initialize(requestor) ⇒ ReportingService
Returns a new instance of ReportingService.
8 9 10 11 12 |
# File 'lib/stripe/services/reporting_service.rb', line 8 def initialize(requestor) super(requestor) @report_runs = Stripe::Reporting::ReportRunService.new(@requestor) @report_types = Stripe::Reporting::ReportTypeService.new(@requestor) end |
Instance Attribute Details
#report_runs ⇒ Object (readonly)
Returns the value of attribute report_runs.
6 7 8 |
# File 'lib/stripe/services/reporting_service.rb', line 6 def report_runs @report_runs end |
#report_types ⇒ Object (readonly)
Returns the value of attribute report_types.
6 7 8 |
# File 'lib/stripe/services/reporting_service.rb', line 6 def report_types @report_types end |