Sha256: 498159b8990b87d28d60eac27e5671e5c31422be73b938c62fea7bdeb7854e95
Contents?: true
Size: 363 Bytes
Versions: 3
Compression:
Stored size: 363 Bytes
Contents
module Hyperdrive module Errors class MethodNotAllowed < HTTPError def initialize(request_method) @request_method = request_method end def message "A request was made using a request method (#{@request_method}) not supported by this resource." end def http_status_code 405 end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hyperdrive-0.0.6 | lib/hyperdrive/errors/method_not_allowed.rb |
hyperdrive-0.0.5 | lib/hyperdrive/errors/method_not_allowed.rb |
hyperdrive-0.0.4 | lib/hyperdrive/errors/method_not_allowed.rb |