Exception: SalesforceApi::Errors::MethodError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/salesforceapi-rest/errors.rb

Overview

Error for HTTP code 405, The method specified in the Request-Line is not allowed.

Instance Attribute Summary

Attributes inherited from ApiError

#http_code

Instance Method Summary collapse

Constructor Details

#initialize(message, http_code) ⇒ MethodError

Returns a new instance of MethodError.



52
53
54
# File 'lib/salesforceapi-rest/errors.rb', line 52

def initialize(message, http_code)
  super(message, http_code)
end