Module: OrderStatuses
- Included in:
- Ecommerce
- Defined in:
- lib/user/ecommerce/order_statuses.rb
Instance Method Summary collapse
-
#get_order_status(id) ⇒ Object
Get order status.
-
#get_order_statuses ⇒ Object
Get order statuses.
Instance Method Details
#get_order_status(id) ⇒ Object
Get order status.
Get status of an order.
Parameters
- id
-
(Integer) – Order id.
First Example
@data = @mints_user.get_order_status(1)
23 24 25 |
# File 'lib/user/ecommerce/order_statuses.rb', line 23 def get_order_status(id) return @client.raw("get", "/ecommerce/order-statuses/#{id}") end |
#get_order_statuses ⇒ Object
Get order statuses.
Get order statuses.
First Example
@data = @mints_user.get_order_statuses
11 12 13 |
# File 'lib/user/ecommerce/order_statuses.rb', line 11 def get_order_statuses return @client.raw("get", "/ecommerce/order-statuses") end |