Method: EcwidApi::OrderItem#category
- Defined in:
- lib/ecwid_api/order_item.rb
#category ⇒ Object
Public: Returns the default ‘Category` that the product belongs to
11 12 13 |
# File 'lib/ecwid_api/order_item.rb', line 11 def category client.categories.find(data["categoryId"]) end |