Class: MoySklad::Model::CashIn

Inherits:
Client::Base show all
Defined in:
lib/moy_sklad/model/cash_in.rb

Instance Method Summary collapse

Methods inherited from Client::Base

#applicable?, collection_name, #create, #destroy, element_path, find, new_element_path, #save

Methods inherited from ActiveResource::Base

#find_object

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