Class: Stripe::V2::ReportingService

Inherits:
StripeService show all
Defined in:
lib/stripe/services/v2/reporting_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

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_runsObject (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

#reportsObject (readonly)

Returns the value of attribute reports.



7
8
9
# File 'lib/stripe/services/v2/reporting_service.rb', line 7

def reports
  @reports
end