Method: Feedlr::Client#initialize
- Defined in:
- lib/feedlr/client.rb
#initialize(options = {}) ⇒ Feedlr::Client
Initializer
52 53 54 55 56 57 58 |
# File 'lib/feedlr/client.rb', line 52 def initialize( = {}) @oauth_access_token = .fetch(:oauth_access_token) do Feedlr.oauth_access_token end @sandbox = .fetch(:sandbox) { Feedlr.sandbox } @logger = .fetch(:logger) { Feedlr.logger } end |