Class: Dynaccount::Product

Inherits:
DynaccountObject show all
Defined in:
lib/dynaccount/product.rb

Instance Attribute Summary

Attributes inherited from DynaccountObject

#values

Class Method Summary collapse

Methods inherited from DynaccountObject

all, create, #destroy, find, find_by, #initialize, #marshal_dump, #marshal_load, query, run_query, #save, #update, url

Constructor Details

This class inherits a constructor from Dynaccount::DynaccountObject

Class Method Details

.api_pathObject



7
8
9
# File 'lib/dynaccount/product.rb', line 7

def self.api_path
  'product'
end

.ignore_putObject



3
4
5
# File 'lib/dynaccount/product.rb', line 3

def self.ignore_put
  [:id, :block_id, :type, :product_group_id, :in_stock, :in_order, :in_supplier_order, :time_stock_change, :is_stocked, :profit_ratio, :price_cost]
end