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.



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

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