Class: Stripe::BillingPortalService

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

Constructor Details

#initialize(requestor) ⇒ BillingPortalService

Returns a new instance of BillingPortalService.



8
9
10
11
12
# File 'lib/stripe/services/billing_portal_service.rb', line 8

def initialize(requestor)
  super(requestor)
  @configurations = Stripe::BillingPortal::ConfigurationService.new(@requestor)
  @sessions = Stripe::BillingPortal::SessionService.new(@requestor)
end

Instance Attribute Details

#configurationsObject (readonly)

Returns the value of attribute configurations.



6
7
8
# File 'lib/stripe/services/billing_portal_service.rb', line 6

def configurations
  @configurations
end

#sessionsObject (readonly)

Returns the value of attribute sessions.



6
7
8
# File 'lib/stripe/services/billing_portal_service.rb', line 6

def sessions
  @sessions
end