Exception: Datadog::Core::Transport::HTTP::Adapters::Net::UnknownHTTPMethod
- Inherits:
-
StandardError
- Object
- StandardError
- Datadog::Core::Transport::HTTP::Adapters::Net::UnknownHTTPMethod
- Defined in:
- lib/datadog/core/transport/http/adapters/net.rb
Overview
Raised when called with an unknown HTTP method
Instance Attribute Summary collapse
-
#verb ⇒ Object
readonly
Returns the value of attribute verb.
Instance Method Summary collapse
-
#initialize(verb) ⇒ UnknownHTTPMethod
constructor
A new instance of UnknownHTTPMethod.
Constructor Details
#initialize(verb) ⇒ UnknownHTTPMethod
Returns a new instance of UnknownHTTPMethod.
102 103 104 |
# File 'lib/datadog/core/transport/http/adapters/net.rb', line 102 def initialize(verb) super("No matching Net::HTTP function for '#{verb}'!") end |
Instance Attribute Details
#verb ⇒ Object (readonly)
Returns the value of attribute verb.
100 101 102 |
# File 'lib/datadog/core/transport/http/adapters/net.rb', line 100 def verb @verb end |