Exception: WebexXmlApi::RequestFailed

Inherits:
Error
  • Object
show all
Defined in:
lib/webex_xml_api/exceptions.rb

Overview

Exception raised if request against WebEx Service fails Returns the error received by WebEx XML API Service

Returns:

  • (Hash)

    An object with error code and message

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ RequestFailed

Instantiate an instance of RequestFailed with an error Object

Parameters:

  • response (Object)

    object with response received by WebEx Service



18
19
20
# File 'lib/webex_xml_api/exceptions.rb', line 18

def initialize(response)
  @response ||= response
end

Instance Attribute Details

#responseObject (readonly)

The reader method for the response object



14
15
16
# File 'lib/webex_xml_api/exceptions.rb', line 14

def response
  @response
end