Sha256: 8a3bd308549b45df8a68265b848997ae041bbbff342303ad54e1536cb09903e6

Contents?: true

Size: 314 Bytes

Versions: 18

Compression:

Stored size: 314 Bytes

Contents

module Hyperdrive
  module Errors
    class NotImplemented < HTTPError
      def initialize(request_method)
        @message = "The server either does not recognise the request method (#{request_method}), or it lacks the ability to fulfill the request."
        @http_status_code = 501
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
hyperdrive-0.0.25 lib/hyperdrive/errors/not_implemented.rb
hyperdrive-0.0.24 lib/hyperdrive/errors/not_implemented.rb
hyperdrive-0.0.23 lib/hyperdrive/errors/not_implemented.rb
hyperdrive-0.0.22 lib/hyperdrive/errors/not_implemented.rb
hyperdrive-0.0.21 lib/hyperdrive/errors/not_implemented.rb
hyperdrive-0.0.20 lib/hyperdrive/errors/not_implemented.rb
hyperdrive-0.0.19 lib/hyperdrive/errors/not_implemented.rb
hyperdrive-0.0.18 lib/hyperdrive/errors/not_implemented.rb
hyperdrive-0.0.17 lib/hyperdrive/errors/not_implemented.rb
hyperdrive-0.0.16 lib/hyperdrive/errors/not_implemented.rb
hyperdrive-0.0.15 lib/hyperdrive/errors/not_implemented.rb
hyperdrive-0.0.14 lib/hyperdrive/errors/not_implemented.rb
hyperdrive-0.0.13 lib/hyperdrive/errors/not_implemented.rb
hyperdrive-0.0.12 lib/hyperdrive/errors/not_implemented.rb
hyperdrive-0.0.11 lib/hyperdrive/errors/not_implemented.rb
hyperdrive-0.0.10 lib/hyperdrive/errors/not_implemented.rb
hyperdrive-0.0.9 lib/hyperdrive/errors/not_implemented.rb
hyperdrive-0.0.8 lib/hyperdrive/errors/not_implemented.rb