Module: RakutenProductApi
- Defined in:
- lib/rakuten_product_api.rb,
lib/rakuten_product_api/item.rb,
lib/rakuten_product_api/client.rb,
lib/rakuten_product_api/version.rb,
lib/rakuten_product_api/response.rb,
lib/rakuten_product_api/authenticate.rb
Defined Under Namespace
Classes: Authenticate, Client, Error, Item, Response
Constant Summary collapse
- APPLICATION_END_POINT =
"https://api.linksynergy.com"
- VERSION =
"0.5.1"
Class Attribute Summary collapse
-
.client_id ⇒ Object
Returns the value of attribute client_id.
-
.client_secret ⇒ Object
Returns the value of attribute client_secret.
-
.endpoint ⇒ Object
Returns the value of attribute endpoint.
-
.mid ⇒ Object
Returns the value of attribute mid.
-
.sid ⇒ Object
Returns the value of attribute sid.
-
.sort ⇒ Object
Returns the value of attribute sort.
-
.sorttype ⇒ Object
Returns the value of attribute sorttype.
Class Method Summary collapse
- .configure {|_self| ... } ⇒ Object (also: config)
Class Attribute Details
.client_id ⇒ Object
Returns the value of attribute client_id.
17 18 19 |
# File 'lib/rakuten_product_api.rb', line 17 def client_id @client_id end |
.client_secret ⇒ Object
Returns the value of attribute client_secret.
17 18 19 |
# File 'lib/rakuten_product_api.rb', line 17 def client_secret @client_secret end |
.endpoint ⇒ Object
Returns the value of attribute endpoint.
17 18 19 |
# File 'lib/rakuten_product_api.rb', line 17 def endpoint @endpoint end |
.mid ⇒ Object
Returns the value of attribute mid.
17 18 19 |
# File 'lib/rakuten_product_api.rb', line 17 def mid @mid end |
.sid ⇒ Object
Returns the value of attribute sid.
17 18 19 |
# File 'lib/rakuten_product_api.rb', line 17 def sid @sid end |
.sort ⇒ Object
Returns the value of attribute sort.
17 18 19 |
# File 'lib/rakuten_product_api.rb', line 17 def sort @sort end |
.sorttype ⇒ Object
Returns the value of attribute sorttype.
17 18 19 |
# File 'lib/rakuten_product_api.rb', line 17 def sorttype @sorttype end |
Class Method Details
.configure {|_self| ... } ⇒ Object Also known as: config
25 26 27 28 |
# File 'lib/rakuten_product_api.rb', line 25 def configure self.endpoint = APPLICATION_END_POINT # Set a default API Endpoint yield self end |