Class: Stripe::ReportingService

Inherits:
StripeService show all
Defined in:
lib/stripe/services/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.



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