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.



37
38
39
# File 'lib/noticed.rb', line 37

def initialize(response)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



35
36
37
# File 'lib/noticed.rb', line 35

def response
  @response
end