Class: Feedlr::Client
- Inherits:
-
Object
- Object
- Feedlr::Client
- Includes:
- Gateway::Categories, Gateway::Entries, Gateway::Evernote, Gateway::Facebook, Gateway::Feeds, Gateway::Markers, Gateway::Microsoft, Gateway::Mixes, Gateway::Opml, Gateway::Preferences, Gateway::Profile, Gateway::Search, Gateway::Shorten, Gateway::Streams, Gateway::Subscriptions, Gateway::Tags, Gateway::Topics, Gateway::Twitter, Request
- Defined in:
- lib/feedlr/client.rb
Overview
Feedlr Client
Constant Summary
Constants included from Request
Request::API_VERSION, Request::ENDPOINT, Request::SANDBOX_ENDPOINT
Instance Attribute Summary collapse
-
#logger ⇒ Object
readonly
Returns the value of attribute logger.
-
#oauth_access_token ⇒ Object
readonly
Returns the value of attribute oauth_access_token.
-
#sandbox ⇒ Object
readonly
Returns the value of attribute sandbox.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Feedlr::Client
constructor
Initializer.
Methods included from Gateway::Evernote
#add_to_evernote, #evernote_notebooks, #unlink_evernote
Methods included from Gateway::Microsoft
#add_to_onenote, #unlink_microsoft
Methods included from Gateway::Twitter
#twitter_suggestions, #unlink_twitter
Methods included from Gateway::Facebook
#facebook_suggestions, #unlink_facebook
Methods included from Gateway::Search
Methods included from Gateway::Opml
Methods included from Gateway::Mixes
Methods included from Gateway::Preferences
#preferences, #update_preferences
Methods included from Gateway::Profile
#update_profile, #user_profile
Methods included from Gateway::Shorten
Methods included from Gateway::Topics
#add_topic, #delete_topic, #update_topic, #user_topics
Methods included from Gateway::Tags
#change_tag_label, #delete_tag, #delete_tags, #tag_entries, #tag_entry, #untag_entries, #untag_entry, #user_tags
Methods included from Gateway::Subscriptions
#add_subscription, #delete_subscription, #update_subscription, #user_subscriptions
Methods included from Gateway::Markers
#lastest_tagged_entries, #mark_article_as_read, #mark_article_as_unread, #mark_articles_as_read, #mark_articles_as_unread, #mark_categories_as_read, #mark_category_as_read, #mark_feed_as_read, #mark_feeds_as_read, #sync_read_counts, #undo_mark_categories_as_read, #undo_mark_category_as_read, #undo_mark_feed_as_read, #undo_mark_feeds_as_read, #user_unread_counts
Methods included from Gateway::Streams
#stream_entries_contents, #stream_entries_ids
Methods included from Gateway::Entries
#add_entry, #user_entries, #user_entry
Methods included from Gateway::Categories
#change_category_label, #delete_category, #user_categories
Methods included from Gateway::Feeds
Constructor Details
#initialize(options = {}) ⇒ Feedlr::Client
Initializer
52 53 54 55 56 57 58 |
# File 'lib/feedlr/client.rb', line 52 def initialize( = {}) @oauth_access_token = .fetch(:oauth_access_token) do Feedlr.oauth_access_token end @sandbox = .fetch(:sandbox) { Feedlr.sandbox } @logger = .fetch(:logger) { Feedlr.logger } end |
Instance Attribute Details
#logger ⇒ Object (readonly)
Returns the value of attribute logger.
44 45 46 |
# File 'lib/feedlr/client.rb', line 44 def logger @logger end |
#oauth_access_token ⇒ Object (readonly)
Returns the value of attribute oauth_access_token.
44 45 46 |
# File 'lib/feedlr/client.rb', line 44 def oauth_access_token @oauth_access_token end |
#sandbox ⇒ Object (readonly)
Returns the value of attribute sandbox.
44 45 46 |
# File 'lib/feedlr/client.rb', line 44 def sandbox @sandbox end |