module Feedlr
Feedlr
top level module
Attributes
logger[RW]
oauth_access_token[RW]
sandbox[W]
Public Class Methods
configure() { |self| ... }
click to toggle source
config/initializers/Feedlr.rb (for instance)
“‘ruby Feedlr.configure
do |config|
config.oauth_access_token = 'oauth_access_token' config.sandbox = true config.logger = SomeCustomLogger.new
end “‘ elsewhere
“‘ruby client = Feedlr::Client.new
“`
# File lib/feedlr.rb, line 24 def configure yield self true end
sandbox()
click to toggle source
Returns the value of attribute sandbox
# File lib/feedlr.rb, line 30 def sandbox @sandbox ||= false end