Class: Stripe::ClimateService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::ClimateService
- Defined in:
- lib/stripe/services/climate_service.rb
Instance Attribute Summary collapse
-
#orders ⇒ Object
readonly
Returns the value of attribute orders.
-
#products ⇒ Object
readonly
Returns the value of attribute products.
-
#suppliers ⇒ Object
readonly
Returns the value of attribute suppliers.
Instance Method Summary collapse
-
#initialize(requestor) ⇒ ClimateService
constructor
A new instance of ClimateService.
Methods inherited from StripeService
Constructor Details
#initialize(requestor) ⇒ ClimateService
Returns a new instance of ClimateService.
8 9 10 11 12 13 |
# File 'lib/stripe/services/climate_service.rb', line 8 def initialize(requestor) super(requestor) @orders = Stripe::Climate::OrderService.new(@requestor) @products = Stripe::Climate::ProductService.new(@requestor) @suppliers = Stripe::Climate::SupplierService.new(@requestor) end |
Instance Attribute Details
#orders ⇒ Object (readonly)
Returns the value of attribute orders.
6 7 8 |
# File 'lib/stripe/services/climate_service.rb', line 6 def orders @orders end |
#products ⇒ Object (readonly)
Returns the value of attribute products.
6 7 8 |
# File 'lib/stripe/services/climate_service.rb', line 6 def products @products end |
#suppliers ⇒ Object (readonly)
Returns the value of attribute suppliers.
6 7 8 |
# File 'lib/stripe/services/climate_service.rb', line 6 def suppliers @suppliers end |