Class: ConcurConnect::ExpenseReport

Inherits:
Object
  • Object
show all
Defined in:
lib/concur_connect/expense_report.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dateObject

Returns the value of attribute date.



5
6
7
# File 'lib/concur_connect/expense_report.rb', line 5

def date
  @date
end

#details_urlObject

Returns the value of attribute details_url.



5
6
7
# File 'lib/concur_connect/expense_report.rb', line 5

def details_url
  @details_url
end

#expensesObject

Returns the value of attribute expenses.



5
6
7
# File 'lib/concur_connect/expense_report.rb', line 5

def expenses
  @expenses
end

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/concur_connect/expense_report.rb', line 5

def id
  @id
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/concur_connect/expense_report.rb', line 5

def name
  @name
end

#sessionObject

Returns the value of attribute session.



5
6
7
# File 'lib/concur_connect/expense_report.rb', line 5

def session
  @session
end

Instance Method Details

#api_idObject



13
14
15
# File 'lib/concur_connect/expense_report.rb', line 13

def api_id
  File.basename details_url
end

#expense_finderObject



9
10
11
# File 'lib/concur_connect/expense_report.rb', line 9

def expense_finder
  @expense_finder ||= ExpenseFinder.new session
end