Class: Stripe::ClimateService

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

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

#ordersObject (readonly)

Returns the value of attribute orders.



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

def orders
  @orders
end

#productsObject (readonly)

Returns the value of attribute products.



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

def products
  @products
end

#suppliersObject (readonly)

Returns the value of attribute suppliers.



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

def suppliers
  @suppliers
end