class B2W::Batch

Public Class Methods

find(sku, type) click to toggle source
# File lib/b2w/batch.rb, line 11
def self.find(sku, type)
  get("#{path}/#{type}/#{sku}")
end
price(params) click to toggle source
# File lib/b2w/batch.rb, line 7
def self.price(params)
  post("#{path}/price", params)
end
stock(params) click to toggle source
# File lib/b2w/batch.rb, line 3
def self.stock(params)
  post("#{path}/stock", params)
end

Private Class Methods

path() click to toggle source
# File lib/b2w/batch.rb, line 16
def self.path
  "/batch/sku"
end