Sha256: 05b4815ae468421bad03cd8ab8c5f61dcf7500e55a8e2fbe7177b6354b56e5a1

Contents?: true

Size: 280 Bytes

Versions: 6

Compression:

Stored size: 280 Bytes

Contents

require 'fifthgear/client'

module Fifthgear
  class Item
    def self.lookup(sku=nil)
      conn = Fifthgear::Client.new
      conn.post "#{Fifthgear.configuration.api_version}/ItemLookup", { "CompanyId" => Fifthgear.configuration.company_id, "Request" => sku}
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fifthgear-0.0.8 lib/fifthgear/item.rb
fifthgear-0.0.7 lib/fifthgear/item.rb
fifthgear-0.0.6 lib/fifthgear/item.rb
fifthgear-0.0.5 lib/fifthgear/item.rb
fifthgear-0.0.3 lib/fifthgear/item.rb
fifthgear-0.0.2 lib/fifthgear/item.rb