Sha256: d00bd09b6ad015b9000704ef93a0d01e275e2aea4ed4299548f33e89dfc11c33
Contents?: true
Size: 472 Bytes
Versions: 2
Compression:
Stored size: 472 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pocket-ruby-0.0.9 | lib/pocket/api.rb |
pocket-ruby-0.0.8 | lib/pocket/api.rb |