Class: MoySklad::Model::CashIn
- Inherits:
-
Client::Base
- Object
- ActiveResource::Base
- Client::Base
- MoySklad::Model::CashIn
- Defined in:
- lib/moy_sklad/model/cash_in.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ CashIn
constructor
A new instance of CashIn.
Methods inherited from Client::Base
#applicable?, collection_name, #create, #destroy, element_path, find, new_element_path, #save
Methods inherited from ActiveResource::Base
Constructor Details
#initialize(*args) ⇒ CashIn
Returns a new instance of CashIn.
3 4 5 6 7 |
# File 'lib/moy_sklad/model/cash_in.rb', line 3 def initialize(*args) super(*args) create_nested_collection(:attribute) create_nested_resource(:sum) end |