Module: ApiModel::Initializer
- Extended by:
- ActiveSupport::Concern
- Includes:
- Assignment
- Included in:
- Configuration, HttpRequest
- Defined in:
- lib/api_model/initializer.rb
Instance Method Summary collapse
Methods included from Assignment
Instance Method Details
#initialize(values = {}) ⇒ Object
11 12 13 14 15 |
# File 'lib/api_model/initializer.rb', line 11 def initialize(values={}) run_callbacks :initialize do update_attributes values end end |