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