Class: Extensiv::CartProduct

Inherits:
Resource show all
Defined in:
lib/extensiv/cart/cart_product.rb

Instance Attribute Summary

Attributes inherited from Resource

#client

Instance Method Summary collapse

Methods inherited from Resource

#initialize

Constructor Details

This class inherits a constructor from Extensiv::Resource

Instance Method Details

#info(sku:) ⇒ Object



5
6
7
# File 'lib/extensiv/cart/cart_product.rb', line 5

def info(sku:)
  Product.new get_request("merchant/product/#{sku}").body["response"]
end