Exception: IMS::LTI::Errors::ToolProxyRegistrationError
- Inherits:
-
StandardError
- Object
- StandardError
- IMS::LTI::Errors::ToolProxyRegistrationError
- Defined in:
- lib/ims/lti/errors/tool_proxy_registration_error.rb
Instance Attribute Summary collapse
-
#response_body ⇒ Object
readonly
Returns the value of attribute response_body.
-
#response_status ⇒ Object
readonly
Returns the value of attribute response_status.
Instance Method Summary collapse
-
#initialize(response_status, response_body = nil) ⇒ ToolProxyRegistrationError
constructor
A new instance of ToolProxyRegistrationError.
Constructor Details
#initialize(response_status, response_body = nil) ⇒ ToolProxyRegistrationError
Returns a new instance of ToolProxyRegistrationError.
5 6 7 8 9 10 11 12 13 |
# File 'lib/ims/lti/errors/tool_proxy_registration_error.rb', line 5 def initialize(response_status, response_body = nil) @response_status = response_status @response_body = response_body super <<-EOF Unexpected response for tool proxy registration. HTTP Response Status: #{response_status} HTTP Response Body: #{response_body} EOF end |
Instance Attribute Details
#response_body ⇒ Object (readonly)
Returns the value of attribute response_body.
3 4 5 |
# File 'lib/ims/lti/errors/tool_proxy_registration_error.rb', line 3 def response_body @response_body end |
#response_status ⇒ Object (readonly)
Returns the value of attribute response_status.
3 4 5 |
# File 'lib/ims/lti/errors/tool_proxy_registration_error.rb', line 3 def response_status @response_status end |