Method: KashflowApi::SoapObject#initialize

Defined in:
lib/kashflow_api/soap_object.rb

#initialize(hash = nil) ⇒ SoapObject

Returns a new instance of SoapObject.



7
8
9
10
11
# File 'lib/kashflow_api/soap_object.rb', line 7

def initialize(hash = nil)
  expects(hash, Hash) if hash
  @hash = (hash || new_object_hash)
  init_class
end