Class: FaspClient::Configuration
- Inherits:
-
Object
- Object
- FaspClient::Configuration
- Includes:
- Singleton
- Defined in:
- lib/fasp_client/configuration.rb
Instance Attribute Summary collapse
-
#authenticate ⇒ Object
Returns the value of attribute authenticate.
-
#controller_base ⇒ Object
Returns the value of attribute controller_base.
-
#layout ⇒ Object
Returns the value of attribute layout.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 12 13 |
# File 'lib/fasp_client/configuration.rb', line 9 def initialize @authenticate = ->(request) { } @layout = "application" @controller_base = "ActionController::Base" end |
Instance Attribute Details
#authenticate ⇒ Object
Returns the value of attribute authenticate.
5 6 7 |
# File 'lib/fasp_client/configuration.rb', line 5 def authenticate @authenticate end |
#controller_base ⇒ Object
Returns the value of attribute controller_base.
7 8 9 |
# File 'lib/fasp_client/configuration.rb', line 7 def controller_base @controller_base end |
#layout ⇒ Object
Returns the value of attribute layout.
6 7 8 |
# File 'lib/fasp_client/configuration.rb', line 6 def layout @layout end |