Module: CampactUserService
- Defined in:
- lib/campact_user_service.rb,
lib/campact_user_service/client.rb,
lib/campact_user_service/account.rb,
lib/campact_user_service/session.rb,
lib/campact_user_service/response_error.rb
Defined Under Namespace
Classes: Account, Client, ResponseError, Session
Class Method Summary collapse
- .account(external_account_id, options) ⇒ Object
- .session(session_id, session_cookie_name, options) ⇒ Object
Class Method Details
.account(external_account_id, options) ⇒ Object
12 13 14 15 |
# File 'lib/campact_user_service.rb', line 12 def account(external_account_id, ) client = CampactUserService::Client.new() CampactUserService::Account.new(client, external_account_id) end |
.session(session_id, session_cookie_name, options) ⇒ Object
7 8 9 10 |
# File 'lib/campact_user_service.rb', line 7 def session(session_id, , ) client = CampactUserService::Client.new() CampactUserService::Session.new(client, session_id, ) end |