Class: Ifin24::Models::Base
- Inherits:
-
Object
- Object
- Ifin24::Models::Base
- Defined in:
- lib/ifin24/models/base.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(attributes = {}) ⇒ Base
Returns a new instance of Base.
3 4 5 6 7 |
# File 'lib/ifin24/models/base.rb', line 3 def initialize(attributes = {}) attributes.each do |key, value| send(:"#{key}=", value) end end |