lib/feedly_api.rb in feedly_api-0.4.1 vs lib/feedly_api.rb in feedly_api-0.4.2
- old
+ new
@@ -15,12 +15,12 @@
get_info
end
def get_info
json = Api.fetch(:feeds, @id)
- @subscribers = json.fetch(:subscribers)
- @title = json.fetch(:title)
- @velocity = json.fetch(:velocity)
+ @subscribers = json.fetch(:subscribers) { nil }
+ @title = json.fetch(:title) { nil }
+ @velocity = json.fetch(:velocity) { nil }
end
def items(params = {})
Api.fetch(:streams, @id, params).fetch(:items)
end