Sha256: 511b0ebc7adb6d7768c8a058eeb203f7ea25aba0b9f3f4ebf16f541716250415
Contents?: true
Size: 474 Bytes
Versions: 8
Compression:
Stored size: 474 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
8 entries across 8 versions & 2 rubygems