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

- old
+ new

@@ -1,13 +1,10 @@ module Hyperdrive module Errors class InternalServerError < HTTPError - def message - "The server encountered an unexpected condition which prevented it from fulfilling the request." + def initialize + @message = 'The server encountered an unexpected condition which prevented it from fulfilling the request.' + @http_status_code = 500 end - - def http_status_code - 500 - end end end -end \ No newline at end of file +end