Class: Gillbus::GetOrderStatus::Request
- Inherits:
-
BaseRequest
- Object
- BaseRequest
- Gillbus::GetOrderStatus::Request
- Defined in:
- lib/gillbus/get_order_status.rb
Instance Attribute Summary collapse
-
#order_number ⇒ Object
orderNumber Номер заказа или массив заказов, полученных при создании отложенной продажи.
Instance Method Summary collapse
Methods inherited from BaseRequest
Constructor Details
This class inherits a constructor from Gillbus::BaseRequest
Instance Attribute Details
#order_number ⇒ Object
orderNumber Номер заказа или массив заказов, полученных при создании отложенной продажи.
10 11 12 |
# File 'lib/gillbus/get_order_status.rb', line 10 def order_number @order_number end |
Instance Method Details
#params ⇒ Object
12 13 14 15 16 |
# File 'lib/gillbus/get_order_status.rb', line 12 def params compact( orderNumber: order_number.is_a?(Array) ? order_number.join(';') : order_number, ) end |
#path ⇒ Object
6 |
# File 'lib/gillbus/get_order_status.rb', line 6 def path; '/online2/getOrderStatus' end |