Class: Auchandirect::ScrAPI::Items
- Inherits:
-
Object
- Object
- Auchandirect::ScrAPI::Items
- Defined in:
- lib/auchandirect/scrAPI/items.rb
Overview
Storexplore api definition to browse all the items available at auchandirect.com See
The store has 3 depths of categories. The only attribute the categories have is their name The items are all child of the bottom categories, here are their attributes
-
brand
-
name
-
price
-
image (url of the link to the image)
-
remote_id (the id of this item in the auchandirect database)
Constant Summary collapse
- NAMES_SEPARATOR =
', '
Class Method Summary collapse
-
.browse ⇒ Object
Returns a Storexplore api on whole auchandirect catalog.
-
.url ⇒ Object
Main url of the store.
Class Method Details
.browse ⇒ Object
Returns a Storexplore api on whole auchandirect catalog
41 42 43 |
# File 'lib/auchandirect/scrAPI/items.rb', line 41 def self.browse Storexplore::Api.browse(url) end |
.url ⇒ Object
Main url of the store
46 47 48 |
# File 'lib/auchandirect/scrAPI/items.rb', line 46 def self.url HOMEPAGE end |