Class: PixiClient::Requests::GetUnshippableOrders

Inherits:
Base
  • Object
show all
Defined in:
lib/pixi_client/requests/get_unshippable_orders.rb

Constant Summary

Constants inherited from Base

Base::FIVE_MINUTES, Base::TIME_STRING_FORMAT

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#call

Constructor Details

#initialize(location) ⇒ GetUnshippableOrders

Returns a new instance of GetUnshippableOrders.



6
7
8
# File 'lib/pixi_client/requests/get_unshippable_orders.rb', line 6

def initialize(location)
  self.location = location
end

Instance Attribute Details

#locationObject

Returns the value of attribute location.



4
5
6
# File 'lib/pixi_client/requests/get_unshippable_orders.rb', line 4

def location
  @location
end

Instance Method Details

#api_methodObject



10
11
12
# File 'lib/pixi_client/requests/get_unshippable_orders.rb', line 10

def api_method
  :pixi_report_get_unshippable_orders
end

#messageObject



14
15
16
# File 'lib/pixi_client/requests/get_unshippable_orders.rb', line 14

def message
  { 'ViewDetails' => 1, 'IncludeCustLock' => 0, 'LocID' => location }
end