Method: Megam::Account#initialize
- Defined in:
- lib/megam/core/account.rb
#initialize(o) ⇒ Account
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/megam/core/account.rb', line 18 def initialize(o) @id = nil @email = nil @api_key = nil @first_name = nil @last_name = nil @phone = nil @password = nil = nil @password_reset_key = nil @password_reset_sent_at = nil @created_at = nil @some_msg = {} super({:email => o[:email], :api_key => o[:api_key], :host => o[:host], :password => o[:password], :org_id => o[:org_id]}) end |