Class: Stripe::V2::ReportingService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::V2::ReportingService
- Defined in:
- lib/stripe/services/v2/reporting_service.rb
Instance Attribute Summary collapse
-
#report_runs ⇒ Object
readonly
Returns the value of attribute report_runs.
-
#reports ⇒ Object
readonly
Returns the value of attribute reports.
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.
9 10 11 12 13 |
# File 'lib/stripe/services/v2/reporting_service.rb', line 9 def initialize(requestor) super @reports = Stripe::V2::Reporting::ReportService.new(@requestor) @report_runs = Stripe::V2::Reporting::ReportRunService.new(@requestor) end |
Instance Attribute Details
#report_runs ⇒ Object (readonly)
Returns the value of attribute report_runs.
7 8 9 |
# File 'lib/stripe/services/v2/reporting_service.rb', line 7 def report_runs @report_runs end |
#reports ⇒ Object (readonly)
Returns the value of attribute reports.
7 8 9 |
# File 'lib/stripe/services/v2/reporting_service.rb', line 7 def reports @reports end |