class Newgistics::Product

Public Class Methods

all() click to toggle source
# File lib/newgistics/product.rb, line 18
def self.all
  where({}).all
end
element_selector() click to toggle source
# File lib/newgistics/product.rb, line 29
def self.element_selector
  'product'
end
where(conditions) click to toggle source
# File lib/newgistics/product.rb, line 22
def self.where(conditions)
  Query.build(
    endpoint: '/inventory.aspx',
    model_class: self
  ).where(conditions)
end