Method: Quintype::API::BaseFunctions::ClassFunctions#from_hash

Defined in:
lib/quintype/api/base_functions.rb

#from_hash(hash, *args) ⇒ Object



8
9
10
# File 'lib/quintype/api/base_functions.rb', line 8

def from_hash(hash, *args)
  new *(args + hash.values_at(*members_as_string))
end