Class: Stripe::ProductCatalogService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::ProductCatalogService
- Defined in:
- lib/stripe/services/product_catalog_service.rb
Instance Attribute Summary collapse
-
#trial_offers ⇒ Object
readonly
Returns the value of attribute trial_offers.
Instance Method Summary collapse
-
#initialize(requestor) ⇒ ProductCatalogService
constructor
A new instance of ProductCatalogService.
Methods inherited from StripeService
Constructor Details
#initialize(requestor) ⇒ ProductCatalogService
Returns a new instance of ProductCatalogService.
8 9 10 11 |
# File 'lib/stripe/services/product_catalog_service.rb', line 8 def initialize(requestor) super @trial_offers = Stripe::ProductCatalog::TrialOfferService.new(@requestor) end |
Instance Attribute Details
#trial_offers ⇒ Object (readonly)
Returns the value of attribute trial_offers.
6 7 8 |
# File 'lib/stripe/services/product_catalog_service.rb', line 6 def trial_offers @trial_offers end |