Sha256: 573981ac62c6e6b92d78e091b4807e8b9ea452488cda92b674daaeb6e36e1b68

Contents?: true

Size: 216 Bytes

Versions: 4

Compression:

Stored size: 216 Bytes

Contents

module Hyperdrive
  module Errors
    class Unauthorized < HTTPError
      def message
        "The request requires user authentication."
      end

      def http_status_code
        401
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hyperdrive-0.0.7 lib/hyperdrive/errors/unauthorized.rb
hyperdrive-0.0.6 lib/hyperdrive/errors/unauthorized.rb
hyperdrive-0.0.5 lib/hyperdrive/errors/unauthorized.rb
hyperdrive-0.0.4 lib/hyperdrive/errors/unauthorized.rb