Class: Parklife::HTTPError

Inherits:
Error
  • Object
show all
Defined in:
lib/parklife/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(status, path) ⇒ HTTPError

Returns a new instance of HTTPError.



8
9
10
# File 'lib/parklife/errors.rb', line 8

def initialize(status, path)
  super %Q(#{status} response from path "#{path}")
end