Class: FeedlyApi::Client

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Request

#delete, #get, #post, #put

Methods included from Tags

#tags

Methods included from Search

#search_entities, #search_feeds

Methods included from Markers

#markers, #update_markers

Methods included from Feeds

#feed, #feeds

Methods included from Collections

#add_feed, #add_feeds, #collection, #collections, #create_collection, #remove_feed, #remove_feeds, #update_collection

Methods included from Categories

#categories

Methods included from Boards

#boards, #update_board

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_tokenObject

Returns the value of attribute access_token.



22
23
24
# File 'lib/feedly_api/client.rb', line 22

def access_token
  @access_token
end