Class: LunchMoney::Objects::User

Inherits:
Object
  • Object
show all
Defined in:
lib/lunchmoney/objects/user.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Object

#serialize

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 = 
  @budget_name = budget_name
  @api_key_label = api_key_label
end

Instance Attribute Details

#account_idObject

Returns the value of attribute account_id.



9
10
11
# File 'lib/lunchmoney/objects/user.rb', line 9

def 
  @account_id
end

#api_key_labelObject

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_nameObject

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_emailObject

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_idObject

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_nameObject

Returns the value of attribute user_name.



12
13
14
# File 'lib/lunchmoney/objects/user.rb', line 12

def user_name
  @user_name
end