lib/hyperdrive/errors/bad_request.rb in hyperdrive-0.0.7 vs lib/hyperdrive/errors/bad_request.rb in hyperdrive-0.0.8

- old
+ new

@@ -1,13 +1,10 @@ module Hyperdrive module Errors class BadRequest < HTTPError - def message - "The request cannot be fulfilled due to bad syntax." + def initialize + @http_status_code = 400 + @message = 'The request cannot be fulfilled due to bad syntax.' end - - def http_status_code - 400 - end end end -end \ No newline at end of file +end