lib/hyperdrive/errors/method_not_allowed.rb in hyperdrive-0.0.6 vs lib/hyperdrive/errors/method_not_allowed.rb in hyperdrive-0.0.7
- old
+ new
@@ -4,10 +4,10 @@
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."
+ "#{@request_method.upcase} requests are not supported by this resource."
end
def http_status_code
405
end