Module: Seoshop::Shop

Included in:
Client
Defined in:
lib/seoshop-api/api/shop.rb

Instance Method Summary collapse

Instance Method Details

#get_shopObject



3
4
5
6
# File 'lib/seoshop-api/api/shop.rb', line 3

def get_shop
  response = get("#{@shop_language}/shop.json")
  response.body ? response.body['shop'] : false
end

#get_shop_companyObject



13
14
15
16
# File 'lib/seoshop-api/api/shop.rb', line 13

def get_shop_company
  response = get("#{@shop_language}/shop/company.json")
  response.body ? response.body['shopCompany'] : false
end

#get_shop_websiteObject



8
9
10
11
# File 'lib/seoshop-api/api/shop.rb', line 8

def get_shop_website
  response = get("#{@shop_language}/shop/website.json")
  response.body ? response.body['shopWebsite'] : false
end