Class: Identity::Gateway::Configuration
- Inherits:
-
Object
- Object
- Identity::Gateway::Configuration
- Defined in:
- lib/identity/gateway/configuration.rb
Instance Attribute Summary collapse
-
#identity_path ⇒ Object
Returns the value of attribute identity_path.
-
#model ⇒ Object
Returns the value of attribute model.
-
#provider_url ⇒ Object
Returns the value of attribute provider_url.
-
#version_header ⇒ Object
Returns the value of attribute version_header.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
Initialize a configuration.
Constructor Details
#initialize ⇒ Configuration
Initialize a configuration.
Returns
-
Identity::Gateway::Configuration
- New instance.
10 11 12 13 |
# File 'lib/identity/gateway/configuration.rb', line 10 def initialize @model = 'User' @identity_path = '/me' end |
Instance Attribute Details
#identity_path ⇒ Object
Returns the value of attribute identity_path.
4 5 6 |
# File 'lib/identity/gateway/configuration.rb', line 4 def identity_path @identity_path end |
#model ⇒ Object
Returns the value of attribute model.
4 5 6 |
# File 'lib/identity/gateway/configuration.rb', line 4 def model @model end |
#provider_url ⇒ Object
Returns the value of attribute provider_url.
4 5 6 |
# File 'lib/identity/gateway/configuration.rb', line 4 def provider_url @provider_url end |
#version_header ⇒ Object
Returns the value of attribute version_header.
4 5 6 |
# File 'lib/identity/gateway/configuration.rb', line 4 def version_header @version_header end |