Class: LunchMoney::Objects::User
- Defined in:
- lib/lunchmoney/objects/user.rb
Overview
Instance Attribute Summary collapse
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#api_key_label ⇒ Object
Returns the value of attribute api_key_label.
-
#budget_name ⇒ Object
Returns the value of attribute budget_name.
-
#user_email ⇒ Object
Returns the value of attribute user_email.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
-
#user_name ⇒ Object
Returns the value of attribute user_name.
Instance Method Summary collapse
-
#initialize(user_id:, user_name:, user_email:, account_id:, budget_name:, api_key_label: nil) ⇒ User
constructor
A new instance of User.
Methods inherited from Object
Constructor Details
#initialize(user_id:, user_name:, user_email:, account_id:, budget_name:, api_key_label: nil) ⇒ User
Returns a new instance of User.
27 28 29 30 31 32 33 34 35 |
# File 'lib/lunchmoney/objects/user.rb', line 27 def initialize(user_id:, user_name:, user_email:, account_id:, budget_name:, api_key_label: nil) super() @user_id = user_id @user_name = user_name @user_email = user_email @account_id = account_id @budget_name = budget_name @api_key_label = api_key_label end |
Instance Attribute Details
#account_id ⇒ Object
Returns the value of attribute account_id.
9 10 11 |
# File 'lib/lunchmoney/objects/user.rb', line 9 def account_id @account_id end |
#api_key_label ⇒ Object
Returns the value of attribute api_key_label.
15 16 17 |
# File 'lib/lunchmoney/objects/user.rb', line 15 def api_key_label @api_key_label end |
#budget_name ⇒ Object
Returns the value of attribute budget_name.
12 13 14 |
# File 'lib/lunchmoney/objects/user.rb', line 12 def budget_name @budget_name end |
#user_email ⇒ Object
Returns the value of attribute user_email.
12 13 14 |
# File 'lib/lunchmoney/objects/user.rb', line 12 def user_email @user_email end |
#user_id ⇒ Object
Returns the value of attribute user_id.
9 10 11 |
# File 'lib/lunchmoney/objects/user.rb', line 9 def user_id @user_id end |
#user_name ⇒ Object
Returns the value of attribute user_name.
12 13 14 |
# File 'lib/lunchmoney/objects/user.rb', line 12 def user_name @user_name end |