lib/faraday/api_key.rb in reviewed-0.1.29 vs lib/faraday/api_key.rb in reviewed-0.1.30

- old
+ new

@@ -1,10 +1,10 @@ module Faraday class ApiKey < Faraday::Middleware def call(env) unless env[:request_headers]['X-Reviewed-Authorization'] - raise ::Reviewed::ConfigurationError.new("Please set the API key for your Reviewed::Client instance before making a request") + raise ::Reviewed::ConfigurationError.new(msg: "Please set the API key for your Reviewed::Client instance before making a request") end @app.call(env) end end