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.
93 94 95 |
# File 'lib/datadog/core/transport/http/adapters/net.rb', line 93 def initialize(verb) super("No matching Net::HTTP function for '#{verb}'!") end |
Instance Attribute Details
#verb ⇒ Object (readonly)
Returns the value of attribute verb.
91 92 93 |
# File 'lib/datadog/core/transport/http/adapters/net.rb', line 91 def verb @verb end |