Exception: Noticed::ResponseUnsuccessful

Inherits:
StandardError
  • Object
show all
Defined in:
lib/noticed.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ ResponseUnsuccessful

Returns a new instance of ResponseUnsuccessful.



43
44
45
# File 'lib/noticed.rb', line 43

def initialize(response)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



41
42
43
# File 'lib/noticed.rb', line 41

def response
  @response
end