Class: ConcurConnect::User
- Inherits:
-
Object
- Object
- ConcurConnect::User
- Defined in:
- lib/concur_connect/user.rb
Instance Attribute Summary collapse
-
#country_code ⇒ Object
Returns the value of attribute country_code.
-
#country_sub_code ⇒ Object
Returns the value of attribute country_sub_code.
-
#currency_code ⇒ Object
Returns the value of attribute currency_code.
-
#email ⇒ Object
Returns the value of attribute email.
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#login_id ⇒ Object
Returns the value of attribute login_id.
-
#session ⇒ Object
Returns the value of attribute session.
Instance Method Summary collapse
Instance Attribute Details
#country_code ⇒ Object
Returns the value of attribute country_code.
5 6 7 |
# File 'lib/concur_connect/user.rb', line 5 def country_code @country_code end |
#country_sub_code ⇒ Object
Returns the value of attribute country_sub_code.
5 6 7 |
# File 'lib/concur_connect/user.rb', line 5 def country_sub_code @country_sub_code end |
#currency_code ⇒ Object
Returns the value of attribute currency_code.
5 6 7 |
# File 'lib/concur_connect/user.rb', line 5 def currency_code @currency_code end |
#email ⇒ Object
Returns the value of attribute email.
5 6 7 |
# File 'lib/concur_connect/user.rb', line 5 def email @email end |
#first_name ⇒ Object
Returns the value of attribute first_name.
5 6 7 |
# File 'lib/concur_connect/user.rb', line 5 def first_name @first_name end |
#last_name ⇒ Object
Returns the value of attribute last_name.
5 6 7 |
# File 'lib/concur_connect/user.rb', line 5 def last_name @last_name end |
#login_id ⇒ Object
Returns the value of attribute login_id.
5 6 7 |
# File 'lib/concur_connect/user.rb', line 5 def login_id @login_id end |
#session ⇒ Object
Returns the value of attribute session.
5 6 7 |
# File 'lib/concur_connect/user.rb', line 5 def session @session end |
Instance Method Details
#expense_report_finder ⇒ Object
13 14 15 |
# File 'lib/concur_connect/user.rb', line 13 def expense_report_finder @expense_report_finder ||= ExpenseReportFinder.new session end |
#expense_reports(status = 'APPROVED', date = nil) ⇒ Object
9 10 11 |
# File 'lib/concur_connect/user.rb', line 9 def expense_reports(status = 'APPROVED', date = nil) @expense_reports ||= expense_report_finder.find(login_id, status, date) end |