Class: Stripe::BillingPortalService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::BillingPortalService
- Defined in:
- lib/stripe/services/billing_portal_service.rb
Instance Attribute Summary collapse
-
#configurations ⇒ Object
readonly
Returns the value of attribute configurations.
-
#sessions ⇒ Object
readonly
Returns the value of attribute sessions.
Instance Method Summary collapse
-
#initialize(requestor) ⇒ BillingPortalService
constructor
A new instance of BillingPortalService.
Methods inherited from StripeService
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
#configurations ⇒ Object (readonly)
Returns the value of attribute configurations.
6 7 8 |
# File 'lib/stripe/services/billing_portal_service.rb', line 6 def configurations @configurations end |
#sessions ⇒ Object (readonly)
Returns the value of attribute sessions.
6 7 8 |
# File 'lib/stripe/services/billing_portal_service.rb', line 6 def sessions @sessions end |