Class: BigcommerceOAuthAPI::Client

Inherits:
API
  • Object
show all
Defined in:
lib/bigcommerce-oauth-api/client.rb

Instance Method Summary collapse

Methods inherited from API

#config, #initialize, #is_legacy?

Methods included from Request

#delete, #get, #post, #put

Constructor Details

This class inherits a constructor from BigcommerceOAuthAPI::API

Instance Method Details

#product_googleproductsearch(product_id, options = {}) ⇒ Object

Gets the Google Product Search mappings for a product.



20
21
22
# File 'lib/bigcommerce-oauth-api/client.rb', line 20

def product_googleproductsearch(product_id, options = {})
  get("products/#{product_id}/googleproductsearch", options)
end

#store_informationObject

get basic store information



14
15
16
# File 'lib/bigcommerce-oauth-api/client.rb', line 14

def store_information
  get('store')
end

#timeObject

get server time



8
9
10
# File 'lib/bigcommerce-oauth-api/client.rb', line 8

def time
  get('time')
end