Class: Iterable::Base

Inherits:
Hashie::Dash
  • Object
show all
Includes:
Hashie::Extensions::Dash::Coercion, Hashie::Extensions::Dash::PropertyTranslation
Defined in:
lib/iterable/models/base.rb

Instance Method Summary collapse

Constructor Details

#initialize(hash = {}) ⇒ Base

Returns a new instance of Base.



6
7
8
9
# File 'lib/iterable/models/base.rb', line 6

def initialize(hash = {})
  # ensure we symbolize keys 
  super(Hashie.symbolize_keys!(hash))
end