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