Module: Model::HashableInit

Included in:
AccountCredentials
Defined in:
lib/models/modules/hashable_init.rb

Overview

HashableInit module

Instance Method Summary collapse

Instance Method Details

#initialize(args) ⇒ Object



21
22
23
24
25
# File 'lib/models/modules/hashable_init.rb', line 21

def initialize(args)
  args.each do |key, value|
    send("#{key}=", value)
  end
end