Exception: Polist::Service::Failure

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ Failure

Returns a new instance of Failure.



12
13
14
15
# File 'lib/polist/service.rb', line 12

def initialize(response)
  self.response = response
  super
end

Instance Attribute Details

#responseObject

Returns the value of attribute response.



10
11
12
# File 'lib/polist/service.rb', line 10

def response
  @response
end