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