lib/passworks/request.rb in passworks-2.0.4 vs lib/passworks/request.rb in passworks-2.0.5

- old
+ new

@@ -23,10 +23,9 @@ connection.response :json, :content_type => /\bjson$/ connection.use Passworks::Faraday::HttpExceptionMiddleware connection.adapter ::Faraday.default_adapter end @agent.headers[:user_agent] = @user_agent - @agent.headers['Content-Type'] = 'application/json' @agent end def get(url, options={}) request(:get, url, options) \ No newline at end of file