Module: Feedlr

Defined in:
lib/feedlr.rb,
lib/feedlr/base.rb,
lib/feedlr/error.rb,
lib/feedlr/client.rb,
lib/feedlr/mapper.rb,
lib/feedlr/request.rb,
lib/feedlr/success.rb,
lib/feedlr/version.rb,
lib/feedlr/collection.rb,
lib/feedlr/rate_limit.rb,
lib/feedlr/gateway/opml.rb,
lib/feedlr/gateway/tags.rb,
lib/feedlr/gateway/feeds.rb,
lib/feedlr/gateway/mixes.rb,
lib/feedlr/gateway/search.rb,
lib/feedlr/gateway/topics.rb,
lib/feedlr/gateway/entries.rb,
lib/feedlr/gateway/markers.rb,
lib/feedlr/gateway/profile.rb,
lib/feedlr/gateway/shorten.rb,
lib/feedlr/gateway/streams.rb,
lib/feedlr/gateway/twitter.rb,
lib/feedlr/gateway/evernote.rb,
lib/feedlr/gateway/facebook.rb,
lib/feedlr/gateway/microsoft.rb,
lib/feedlr/gateway/categories.rb,
lib/feedlr/gateway/preferences.rb,
lib/feedlr/gateway/subscriptions.rb

Overview

Feedlr top level module

Defined Under Namespace

Modules: Gateway, Request Classes: Base, Client, Collection, Error, Mapper, RateLimit, Success, Version

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loggerObject

Returns the value of attribute logger.



6
7
8
# File 'lib/feedlr.rb', line 6

def logger
  @logger
end

.oauth_access_tokenObject

Returns the value of attribute oauth_access_token.



6
7
8
# File 'lib/feedlr.rb', line 6

def oauth_access_token
  @oauth_access_token
end

.sandboxObject

Returns the value of attribute sandbox



30
31
32
# File 'lib/feedlr.rb', line 30

def sandbox
  @sandbox ||= false
end

Class Method Details

.configure {|_self| ... } ⇒ Object

config/initializers/Feedlr.rb (for instance)

Feedlr.configure do |config|
  config.oauth_access_token = 'oauth_access_token'
  config.sandbox = true
  config.logger = SomeCustomLogger.new
end

elsewhere

client = Feedlr::Client.new

Yields:

  • (_self)

Yield Parameters:

  • _self (Feedlr)

    the object that the method was called on



24
25
26
27
# File 'lib/feedlr.rb', line 24

def configure
  yield self
  true
end