Class: Iterable::Base
- Inherits:
-
Hashie::Dash
- Object
- Hashie::Dash
- Iterable::Base
- Includes:
- Hashie::Extensions::Dash::Coercion, Hashie::Extensions::Dash::PropertyTranslation
- Defined in:
- lib/iterable/models/base.rb
Direct Known Subclasses
CommerceItem, Event, ListDetails, Requests::Subscribe, Requests::TrackPurchase, Requests::UpdateCart, Responses::Error, Responses::General, Responses::Lists, Responses::Subscribe, Responses::User, User, WorkflowTrigger
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ Base
constructor
A new instance of Base.
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 |