Class: OmniAuth::Strategies::Draugiem
- Inherits:
-
Object
- Object
- OmniAuth::Strategies::Draugiem
- Includes:
- OmniAuth::Strategy
- Defined in:
- lib/omniauth/strategies/draugiem.rb
Overview
Authenticate to draugiem.lv and frype.com and others.
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#app_id ⇒ Object
Returns the value of attribute app_id.
Instance Method Summary collapse
-
#initialize(app, app_id, api_key) ⇒ Draugiem
constructor
A new instance of Draugiem.
Constructor Details
#initialize(app, app_id, api_key) ⇒ Draugiem
Returns a new instance of Draugiem.
28 29 30 31 32 |
# File 'lib/omniauth/strategies/draugiem.rb', line 28 def initialize(app, app_id, api_key) super(app, :draugiem) @app_id = app_id @api_key = api_key end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
26 27 28 |
# File 'lib/omniauth/strategies/draugiem.rb', line 26 def api_key @api_key end |
#app_id ⇒ Object
Returns the value of attribute app_id.
26 27 28 |
# File 'lib/omniauth/strategies/draugiem.rb', line 26 def app_id @app_id end |