Class: Sentiero::Rails::Configuration
- Inherits:
-
Object
- Object
- Sentiero::Rails::Configuration
- Defined in:
- lib/sentiero/rails/configuration.rb
Instance Attribute Summary collapse
-
#events_url ⇒ Object
Returns the value of attribute events_url.
-
#reporter_middleware ⇒ Object
Returns the value of attribute reporter_middleware.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 |
# File 'lib/sentiero/rails/configuration.rb', line 8 def initialize @events_url = "/sentiero/events" @reporter_middleware = true end |
Instance Attribute Details
#events_url ⇒ Object
Returns the value of attribute events_url.
6 7 8 |
# File 'lib/sentiero/rails/configuration.rb', line 6 def events_url @events_url end |
#reporter_middleware ⇒ Object
Returns the value of attribute reporter_middleware.
6 7 8 |
# File 'lib/sentiero/rails/configuration.rb', line 6 def reporter_middleware @reporter_middleware end |