Class: OmniAuth::Strategies::Camdram
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Camdram
- Defined in:
- lib/omniauth/strategies/camdram.rb
Overview
Authenticate to Camdram via OAuth and retrieve basic user information. Usage:
use OmniAuth::Strategies::Camdram, 'app-id-key', 'app-secret-key', :scope => 'user_shows user_orgs', :display => 'plain'
Constant Summary collapse
- BASE_URL =
"https://www.camdram.net"
Instance Method Summary collapse
Instance Method Details
#raw_info ⇒ Object
41 42 43 |
# File 'lib/omniauth/strategies/camdram.rb', line 41 def raw_info @raw_info ||= access_token.get('/auth/account.json').parsed end |