class Qonto::Model::Base

Public Class Methods

new(attributes = {}) click to toggle source
# File lib/qonto/model.rb, line 4
def initialize(attributes = {})
  attributes.each do |key, value|
    m = "#{key}=".to_sym
    send(m, value) if respond_to?(m)
  end
end