Exception: Goat::Halt

Inherits:
Exception show all
Defined in:
lib/goat.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ Halt

Returns a new instance of Halt.



237
238
239
# File 'lib/goat.rb', line 237

def initialize(response)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



235
236
237
# File 'lib/goat.rb', line 235

def response
  @response
end