module Seoshop::Brand

Public Instance Methods

get_brand(brand_id) click to toggle source
# File lib/seoshop-api/api/brand.rb, line 3
def get_brand(brand_id)
  response = get("#{@shop_language}/brands/#{brand_id}.json")
  response.body ? response.body['brand'] : false
end