class QuestionproRails::Account
Attributes
account_type[R]
creation_date[R]
email_address[R]
first_name[R]
id[R]
last_login[R]
last_name[R]
phone[R]
Public Class Methods
new(attributes)
click to toggle source
# File lib/questionpro_rails/account.rb, line 7 def initialize (attributes) @id = attributes['userID'] @first_name = attributes['firstName'] @last_name = attributes['lastName'] @last_login = attributes['lastLogin'] @email_address = attributes['emailAddress'] @phone = attributes['phone'] @account_type = attributes['accountType'] @creation_date = attributes['creationDate'] end