Exception: Alexa::ResponseError

Inherits:
StandardError show all
Defined in:
lib/alexa/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, response) ⇒ ResponseError

Returns a new instance of ResponseError.



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

def initialize(message, response)
  @response = response
  super(message)
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



10
11
12
# File 'lib/alexa/exceptions.rb', line 10

def response
  @response
end