Sha256: 7c1c5db11252f9fda0b6742c99f47c12cd5a61b99f1ac6f12da278e746c58323
Contents?: true
Size: 694 Bytes
Versions: 1
Compression:
Stored size: 694 Bytes
Contents
require_relative 'feedlr/version' require_relative 'feedlr/client' # Feedlr top level module module Feedlr class << self attr_accessor :oauth_access_token, :logger attr_writer :sandbox # 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 # ``` def configure yield self true end # Returns the value of attribute sandbox def sandbox @sandbox ||= false end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
feedlr-0.1.0 | lib/feedlr.rb |