Class: ItemBuilder::Modes::Quantity::ZaloraService
- Defined in:
- lib/item_builder/modes/quantity/zalora_service.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#api_data, #apigateway_get, #apigateway_post, #credential, #data, #headers, #initialize, #order_host, #reserved_params, #reserved_stock
Constructor Details
This class inherits a constructor from ItemBuilder::Modes::Quantity::Base
Instance Method Details
#perform ⇒ Object
8 9 10 |
# File 'lib/item_builder/modes/quantity/zalora_service.rb', line 8 def perform available_quantity + reserved_stock.to_i end |