Class: Ifin24::Models::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/ifin24/models/base.rb

Direct Known Subclasses

Account, Category, Entry, Limit

Instance Method Summary collapse

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