Exception: WebexXmlApi::RequestFailed Abstract

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

Overview

This class is abstract.

Exception raised if request against WebEx Service failed

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ RequestFailed

Instantiate an instance of RequestFailed with error Object

Parameters:

  • An (Object)

    object with response received by WebEx Service



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

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

Instance Attribute Details

#responseHash (readonly)

Returns the error received by WebEx XML API Service

Returns:

  • (Hash)

    An object with error code and message



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

def response
  @response
end