Sha256: f511965167411730b61c99621fc01d0535a578eb3a6d0ef75c73417425132872

Contents?: true

Size: 202 Bytes

Versions: 3

Compression:

Stored size: 202 Bytes

Contents

require "http_error/error"

module HttpError
  # InternalServerError is used by all other errors to inherit from
  class Forbidden < Error
    self.status = 403
    self.message = 'Forbidden'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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