Method: Mints::Pub#get_product_brand

Defined in:
lib/pub.rb

#get_product_brand(slug, options = nil) ⇒ Object

Get Product Brand.

Get a product brand.

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



222
223
224
# File 'lib/pub.rb', line 222

def get_product_brand(slug, options = nil)
  return @client.raw("get", "/ecommerce/product-brands/#{slug}", options)
end