class Feedlr::Client
Attributes
logger[R]
oauth_access_token[R]
sandbox[R]
Public Class Methods
new(options = {})
click to toggle source
Initializer @param [Hash] options client options @option options [String] :oauth_access_token @option options [Boolean] :sandbox @option options [#debug,#info] :logger @return [Feedlr::Client]
# File lib/feedlr/client.rb, line 52 def initialize(options = {}) @oauth_access_token = options.fetch(:oauth_access_token) do Feedlr.oauth_access_token end @sandbox = options.fetch(:sandbox) { Feedlr.sandbox } @logger = options.fetch(:logger) { Feedlr.logger } end