Module: ConcurConnect
- Extended by:
- ConcurConnect
- Included in:
- ConcurConnect
- Defined in:
- lib/concur_connect.rb,
lib/concur_connect/user.rb,
lib/concur_connect/finder.rb,
lib/concur_connect/session.rb,
lib/concur_connect/version.rb,
lib/concur_connect/itinerary.rb,
lib/concur_connect/user_finder.rb,
lib/concur_connect/expense_finder.rb,
lib/concur_connect/expense_report.rb,
lib/concur_connect/itinerary_finder.rb,
lib/concur_connect/expense_report_finder.rb
Overview
ConcurConnect makes using the Concur Connect API a breeze to use.
Quick start:
concur = ConcurConnect.session 'token', 'secret', 'company ID'
reports = concur.expense_reports Date.new(2011, 9, 1) # all approved reports since 9/1/2011
puts reports.first.expenses.inspect
Defined Under Namespace
Modules: Finder Classes: ExpenseFinder, ExpenseReport, ExpenseReportFinder, Itinerary, ItineraryFinder, Session, User, UserFinder
Constant Summary collapse
- VERSION =
"0.0.1"
Instance Method Summary collapse
-
#session(token, secret, company_id) ⇒ Object
Start a connection session to ConcurConnect.
Instance Method Details
#session(token, secret, company_id) ⇒ Object
Start a connection session to ConcurConnect
token: OAuth token secret: OAuth secret company_id: your ConcurConnect company ID (usually your domain)
20 21 22 |
# File 'lib/concur_connect.rb', line 20 def session(token, secret, company_id) Session.new token, secret, company_id end |