Module: Sorcery::Controller::Submodules::External::Providers::Xing
- Defined in:
- lib/sorcery/controller/submodules/external/providers/xing.rb
Overview
This module adds support for OAuth with xing.com. When included in the ‘config.providers’ option, it adds a new option, ‘config.xing’. Via this new option you can configure Xing specific settings like your app’s key and secret.
config.xing.key = <key>
config.xing.secret = <secret>
...
Defined Under Namespace
Modules: XingClient
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/sorcery/controller/submodules/external/providers/xing.rb', line 15 def self.included(base) base.module_eval do class << self attr_reader :xing def merge_xing_defaults! @defaults.merge!(:@xing => XingClient) end end merge_xing_defaults! update! end end |