Exception: Rack::AmbiguousProxyMatch
- Inherits:
-
Exception
- Object
- Exception
- Rack::AmbiguousProxyMatch
- Defined in:
- lib/rack/reverse_proxy.rb
Instance Attribute Summary collapse
-
#matches ⇒ Object
readonly
Returns the value of attribute matches.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path, matches) ⇒ AmbiguousProxyMatch
constructor
A new instance of AmbiguousProxyMatch.
- #to_s ⇒ Object
Constructor Details
#initialize(path, matches) ⇒ AmbiguousProxyMatch
Returns a new instance of AmbiguousProxyMatch.
127 128 129 130 |
# File 'lib/rack/reverse_proxy.rb', line 127 def initialize(path, matches) @path = path @matches = matches end |
Instance Attribute Details
#matches ⇒ Object (readonly)
Returns the value of attribute matches.
126 127 128 |
# File 'lib/rack/reverse_proxy.rb', line 126 def matches @matches end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
126 127 128 |
# File 'lib/rack/reverse_proxy.rb', line 126 def path @path end |
Instance Method Details
#to_s ⇒ Object
132 133 134 |
# File 'lib/rack/reverse_proxy.rb', line 132 def to_s %Q(Path "#{path}" matched multiple endpoints: #{formatted_matches}) end |