Class: Dynaccount::Product
- Inherits:
-
DynaccountObject
- Object
- DynaccountObject
- Dynaccount::Product
- Defined in:
- lib/dynaccount/product.rb
Instance Attribute Summary
Attributes inherited from DynaccountObject
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_path ⇒ Object
7 8 9 |
# File 'lib/dynaccount/product.rb', line 7 def self.api_path 'product' end |
.ignore_put ⇒ Object
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 |