Module: Rawbotz::RemoteShop
- Defined in:
- lib/rawbotz/remote_shop.rb
Class Method Summary collapse
Class Method Details
.cart_page_url(settings) ⇒ Object
20 21 22 |
# File 'lib/rawbotz/remote_shop.rb', line 20 def self.cart_page_url(settings) "#{settings['remote_shop']['base_uri']}checkout/cart/" end |
.product_page_url(product, settings) ⇒ Object
16 17 18 19 |
# File 'lib/rawbotz/remote_shop.rb', line 16 def self.product_page_url(product, settings) # settings could be memoized "#{settings['remote_shop']['base_uri']}catalog/product/view/id/#{product.product_id}" end |