lib/inforouter/errors/api_error.rb in inforouter-0.2.0 vs lib/inforouter/errors/api_error.rb in inforouter-0.2.6

- old
+ new

@@ -5,13 +5,10 @@ # returns an error from an API. class ApiError < InforouterError # @param message [String] Error message. # @param raw [String] Raw data from the SOAP response. def initialize(message, raw) - super(compose_message('api_error', - :message => message, - :raw => raw - )) + super(compose_message('api_error', message: message, raw: raw)) end end end end