Class: Parklife::HTTPRedirectError

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

Instance Method Summary collapse

Constructor Details

#initialize(status, from, to) ⇒ HTTPRedirectError

Returns a new instance of HTTPRedirectError.



15
16
17
# File 'lib/parklife/errors.rb', line 15

def initialize(status, from, to)
  super %Q(#{status} redirect from "#{from}" to "#{to}")
end