Exception: Rack::BlacklistCookies::ConfigurationError
- Inherits:
-
StandardError
- Object
- StandardError
- Rack::BlacklistCookies::ConfigurationError
- Defined in:
- lib/rack/blacklist_cookies/configuration.rb
Overview
ConfigurationError feeds configuration issues back to the user.
Instance Method Summary collapse
- #docs ⇒ Object
-
#initialize(message = "Failed to configure correctly") ⇒ ConfigurationError
constructor
A new instance of ConfigurationError.
- #to_s ⇒ Object
Constructor Details
#initialize(message = "Failed to configure correctly") ⇒ ConfigurationError
Returns a new instance of ConfigurationError.
36 37 38 |
# File 'lib/rack/blacklist_cookies/configuration.rb', line 36 def initialize( = "Failed to configure correctly") @message = end |
Instance Method Details
#docs ⇒ Object
44 45 46 |
# File 'lib/rack/blacklist_cookies/configuration.rb', line 44 def docs "Docs are at https://github.com/notonthehighstreet/rack-blacklist_cookies " end |
#to_s ⇒ Object
40 41 42 |
# File 'lib/rack/blacklist_cookies/configuration.rb', line 40 def to_s "#{@message}. #{docs}" end |