Method: Mints::Pub#get_product
- Defined in:
- lib/pub.rb
#get_product(slug, options = nil) ⇒ Object
Get Product.
Get a single product.
Parameters
-
slug- [String] It’s the string identifier generated by Mints -
options- [Hash] List of Single Resource Options shown above can be used as parameter
201 202 203 |
# File 'lib/pub.rb', line 201 def get_product(slug, = nil) return @client.raw("get", "/ecommerce/products/#{slug}", ) end |