Class: PixiClient::Requests::GetStockByBin
- Defined in:
- lib/pixi_client/requests/get_stock_by_bin.rb
Constant Summary
Constants inherited from Base
Base::FIVE_MINUTES, Base::TIME_STRING_FORMAT
Instance Attribute Summary collapse
-
#loc_id ⇒ Object
Returns the value of attribute loc_id.
Instance Method Summary collapse
- #api_method ⇒ Object
-
#initialize(loc_id) ⇒ GetStockByBin
constructor
A new instance of GetStockByBin.
- #message ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(loc_id) ⇒ GetStockByBin
Returns a new instance of GetStockByBin.
6 7 8 |
# File 'lib/pixi_client/requests/get_stock_by_bin.rb', line 6 def initialize(loc_id) self.loc_id = loc_id end |
Instance Attribute Details
#loc_id ⇒ Object
Returns the value of attribute loc_id.
4 5 6 |
# File 'lib/pixi_client/requests/get_stock_by_bin.rb', line 4 def loc_id @loc_id end |
Instance Method Details
#api_method ⇒ Object
10 11 12 |
# File 'lib/pixi_client/requests/get_stock_by_bin.rb', line 10 def api_method :pixi_get_stock_bins end |
#message ⇒ Object
14 15 16 |
# File 'lib/pixi_client/requests/get_stock_by_bin.rb', line 14 def { 'LocID' => loc_id } end |