Class: FeedlyApi::Client
- Inherits:
-
Object
- Object
- FeedlyApi::Client
- Includes:
- Boards, Categories, Collections, Feeds, Markers, Search, Tags, Request
- Defined in:
- lib/feedly_api/client.rb,
lib/feedly_api/client/tags.rb,
lib/feedly_api/client/feeds.rb,
lib/feedly_api/client/boards.rb,
lib/feedly_api/client/search.rb,
lib/feedly_api/client/markers.rb,
lib/feedly_api/client/categories.rb,
lib/feedly_api/client/collections.rb
Defined Under Namespace
Modules: Boards, Categories, Collections, Feeds, Markers, Search, Tags
Constant Summary
Constants included from Request
Request::API_VERSION_PATH, Request::ENDPOINT_BASE
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
Instance Method Summary collapse
-
#initialize(params) ⇒ Client
constructor
A new instance of Client.
Methods included from Request
Methods included from Tags
Methods included from Search
#search_entities, #search_feeds
Methods included from Markers
Methods included from Feeds
Methods included from Collections
#add_feed, #add_feeds, #collection, #collections, #create_collection, #remove_feed, #remove_feeds, #update_collection
Methods included from Categories
Methods included from Boards
Constructor Details
#initialize(params) ⇒ Client
Returns a new instance of Client.
24 25 26 27 |
# File 'lib/feedly_api/client.rb', line 24 def initialize(params) raise 'access token required' if params.fetch(:access_token).nil? @access_token = params.fetch(:access_token) end |
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
22 23 24 |
# File 'lib/feedly_api/client.rb', line 22 def access_token @access_token end |