Sha256: ea6cbb8446daccf3fe696740eacc48b0ca8697de65e934ae0808576dbb55ad14
Contents?: true
Size: 471 Bytes
Versions: 6
Compression:
Stored size: 471 Bytes
Contents
require File.expand_path('../connection', __FILE__) require File.expand_path('../oauth', __FILE__) module Pocket # @private class API # @private attr_accessor *Configuration::VALID_OPTIONS_KEYS # Creates a new API def initialize(options={}) options = Pocket.options.merge(options) Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", options[key]) end end include Connection include OAuth end end
Version data entries
6 entries across 6 versions & 2 rubygems