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