Module: Identity::Gateway
- Defined in:
- lib/identity/gateway.rb,
lib/identity/gateway/version.rb,
lib/identity/gateway/provider.rb,
lib/identity/gateway/configuration.rb more...
Defined Under Namespace
Classes: Configuration, Provider, Unauthorized
Constant Summary collapse
- VERSION =
'1.1.2'.freeze
Class Attribute Summary collapse
-
.configuration ⇒ Object
Access module configuration.
Class Method Summary collapse
-
.configure {|configuration| ... } ⇒ Object
Configure block.
-
.reset ⇒ Object
Reset configuration to defaults.
Class Attribute Details
permalink .configuration ⇒ Object
Access module configuration.
Returns
-
Identity::Gateway::Configuration
- instance
14 15 16 |
# File 'lib/identity/gateway.rb', line 14 def self.configuration @configuration ||= Configuration.new end |
Class Method Details
permalink .configure {|configuration| ... } ⇒ Object
Configure block.
Returns
-
void
30 31 32 |
# File 'lib/identity/gateway.rb', line 30 def self.configure yield(configuration) end |
permalink .reset ⇒ Object
Reset configuration to defaults.
Returns
-
Identity::Gateway::Configuration
- instance
22 23 24 |
# File 'lib/identity/gateway.rb', line 22 def self.reset @configuration = Configuration.new end |