class EcwidApi::OrderItem

Public Instance Methods

category() click to toggle source

Public: Returns the default `Category` that the product belongs to

# File lib/ecwid_api/order_item.rb, line 11
def category
  client.categories.find(data["categoryId"])
end