Class: FeedlyApi::Client

Inherits:
Object
  • Object
show all
Includes:
API
Defined in:
lib/feedly_api/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from API

#get_category_contents, #get_feed_contents, #get_feed_info, #get_markers, #get_subscriptions, #get_tag_contents, #get_user_profile

Constructor Details

#initialize(auth_token = nil) ⇒ Client

Returns a new instance of Client.



9
10
11
# File 'lib/feedly_api/client.rb', line 9

def initialize(auth_token = nil)
  @auth_token = auth_token
end

Instance Attribute Details

#auth_tokenObject (readonly)

Returns the value of attribute auth_token.



7
8
9
# File 'lib/feedly_api/client.rb', line 7

def auth_token
  @auth_token
end

Instance Method Details

#feed(feed_id) ⇒ Object



17
18
19
# File 'lib/feedly_api/client.rb', line 17

def feed(feed_id)
  Feed.new(self, feed_id)
end

#user_idObject



13
14
15
# File 'lib/feedly_api/client.rb', line 13

def user_id
  [:id]
end