Class: Seekmodo::Sdk::Storefront::Client::RecommendSurface
- Inherits:
-
Object
- Object
- Seekmodo::Sdk::Storefront::Client::RecommendSurface
- Defined in:
- lib/seekmodo/sdk/storefront/client.rb
Instance Method Summary collapse
- #also_bought(args = {}, opts = {}) ⇒ Object
- #also_viewed(args = {}, opts = {}) ⇒ Object
-
#initialize(transport) ⇒ RecommendSurface
constructor
A new instance of RecommendSurface.
- #related(args = {}, opts = {}) ⇒ Object
- #trending(args = {}, opts = {}) ⇒ Object
Constructor Details
#initialize(transport) ⇒ RecommendSurface
Returns a new instance of RecommendSurface.
38 39 40 |
# File 'lib/seekmodo/sdk/storefront/client.rb', line 38 def initialize(transport) @transport = transport end |
Instance Method Details
#also_bought(args = {}, opts = {}) ⇒ Object
46 47 48 |
# File 'lib/seekmodo/sdk/storefront/client.rb', line 46 def also_bought(args = {}, opts = {}) @transport.call("recommend.also_bought", args, opts) end |
#also_viewed(args = {}, opts = {}) ⇒ Object
50 51 52 |
# File 'lib/seekmodo/sdk/storefront/client.rb', line 50 def also_viewed(args = {}, opts = {}) @transport.call("recommend.also_viewed", args, opts) end |
#related(args = {}, opts = {}) ⇒ Object
42 43 44 |
# File 'lib/seekmodo/sdk/storefront/client.rb', line 42 def (args = {}, opts = {}) @transport.call("recommend.related", args, opts) end |
#trending(args = {}, opts = {}) ⇒ Object
54 55 56 |
# File 'lib/seekmodo/sdk/storefront/client.rb', line 54 def trending(args = {}, opts = {}) @transport.call("recommend.trending", args, opts) end |