Class: Seekmodo::Sdk::Storefront::Client::RecommendSurface

Inherits:
Object
  • Object
show all
Defined in:
lib/seekmodo/sdk/storefront/client.rb

Instance Method Summary collapse

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


42
43
44
# File 'lib/seekmodo/sdk/storefront/client.rb', line 42

def related(args = {}, opts = {})
  @transport.call("recommend.related", args, opts)
end


54
55
56
# File 'lib/seekmodo/sdk/storefront/client.rb', line 54

def trending(args = {}, opts = {})
  @transport.call("recommend.trending", args, opts)
end