Class: ShopifyURL::Store::Products
- Inherits:
-
String
- Object
- String
- ShopifyURL::Store::Products
- Defined in:
- lib/shopify_url.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(host, qs = nil) ⇒ Products
constructor
A new instance of Products.
Constructor Details
#initialize(host, qs = nil) ⇒ Products
Returns a new instance of Products.
52 53 54 55 |
# File 'lib/shopify_url.rb', line 52 def initialize(host, qs = nil) super host + "/products" self << "?" << qs if qs end |