lib/tumblr/connection.rb in tumblr_client-0.8.3 vs lib/tumblr/connection.rb in tumblr_client-0.8.4

- old
+ new

@@ -13,10 +13,10 @@ :user_agent => "tumblr_client (ruby) - #{Tumblr::VERSION}" }, :url => "http://#{api_host}/" } - client = options.delete(:client) || Faraday.default_adapter + client = Faraday.default_adapter Faraday.new("http://#{api_host}/", default_options.merge(options)) do |conn| data = { :api_host => api_host }.merge(credentials) unless credentials.empty? conn.request :oauth, data