lib/feedly_api.rb in feedly_api-0.5.1 vs lib/feedly_api.rb in feedly_api-0.6.0
- old
+ new
@@ -11,10 +11,10 @@
API_ENDPOINT = 'http://cloud.feedly.com/v3/'.freeze
class << self
def get(url, token)
uri = URI(url)
- req = Net::HTTP::Get.new(uri)
+ req = Net::HTTP::Get.new(uri.request_uri)
unless token.nil?
req['$Authorization.feedly'] = '$FeedlyAuth'
req['Authorization'] = "OAuth #{token}"
end