Sha256: 8e48eaa185d167348e6ddae8606afb6e1c2d255c0c0fd9604fb1ae4cd52d8fa5

Contents?: true

Size: 134 Bytes

Versions: 3

Compression:

Stored size: 134 Bytes

Contents

require "http_error/error"

module HttpError
  class Teapot < Error
    self.status = 418
    self.message = "I'm a teapot"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
http-errors-0.1.3 lib/http_error/teapot.rb
http-errors-0.1.1 lib/http_error/teapot.rb
http-errors-0.1.0 lib/http_error/teapot.rb