Method: Propertyware::Equity.build_from_hash

Defined in:
lib/propertyware/models/equity.rb

.build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



173
174
175
# File 'lib/propertyware/models/equity.rb', line 173

def self.build_from_hash(attributes)
  new.build_from_hash(attributes)
end