class Pwinty::Product
Public Class Methods
find(sku)
click to toggle source
# File lib/pwinty/api_models/product.rb, line 14 def self.find(sku) response = Pwinty.conn.get("products/#{sku}") new(response.body['product']) end