Method: Mints::Pub#get_sku

Defined in:
lib/pub.rb

#get_sku(slug, options = nil) ⇒ Object

Get SKU.

Get a single SKU.

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



243
244
245
# File 'lib/pub.rb', line 243

def get_sku(slug, options = nil)
  return @client.raw("get", "/ecommerce/skus/#{slug}", options)
end