Sha256: dad44add84c739139f4fa1b580ccda2c0963795353ac176fb0b0386058089e50

Contents?: true

Size: 190 Bytes

Versions: 8

Compression:

Stored size: 190 Bytes

Contents

# frozen_string_literal: true

module Regio
  class Forbidden < StandardError
    def initialize(msg = 'Forbidden')
      super
    end

    def http_status_code
      403
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
regio-0.3.5 lib/regio/errors/forbidden.rb
regio-0.3.4 lib/regio/errors/forbidden.rb
regio-0.3.3 lib/regio/errors/forbidden.rb
regio-0.3.2 lib/regio/errors/forbidden.rb
regio-0.3.1 lib/regio/errors/forbidden.rb
regio-0.3.0 lib/regio/errors/forbidden.rb
regio-0.2.0 lib/regio/errors/forbidden.rb
regio-0.1.1 lib/regio/errors/forbidden.rb