Exception: Droonga::Client::Connection::HTTP::InvalidHTTPMethodError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Droonga::Client::Connection::HTTP::InvalidHTTPMethodError
- Defined in:
- lib/droonga/client/connection/http.rb
Instance Attribute Summary collapse
-
#http_method ⇒ Object
readonly
Returns the value of attribute http_method.
-
#request_message ⇒ Object
readonly
Returns the value of attribute request_message.
Instance Method Summary collapse
-
#initialize(http_method, request_message) ⇒ InvalidHTTPMethodError
constructor
A new instance of InvalidHTTPMethodError.
Constructor Details
#initialize(http_method, request_message) ⇒ InvalidHTTPMethodError
Returns a new instance of InvalidHTTPMethodError.
34 35 36 37 38 39 |
# File 'lib/droonga/client/connection/http.rb', line 34 def initialize(http_method, ) @http_method = http_method @request_message = super("Invalid HTTP Method: <#{@http_method}>: " + "<#{@request_message.inspect}>") end |
Instance Attribute Details
#http_method ⇒ Object (readonly)
Returns the value of attribute http_method.
32 33 34 |
# File 'lib/droonga/client/connection/http.rb', line 32 def http_method @http_method end |
#request_message ⇒ Object (readonly)
Returns the value of attribute request_message.
33 34 35 |
# File 'lib/droonga/client/connection/http.rb', line 33 def @request_message end |