Sha256: 1eaf2bc7cedb534925b70a81c75e3f2a0d6cfba87b5d56e3d778f57101262cf3
Contents?: true
Size: 871 Bytes
Versions: 1
Compression:
Stored size: 871 Bytes
Contents
require File.expand_path("../pocket/error", __FILE__) require File.expand_path("../pocket/configuration", __FILE__) require File.expand_path("../pocket/api", __FILE__) require File.expand_path("../pocket/client", __FILE__) require File.expand_path("../pocket/article", __FILE__) require File.expand_path("../pocket/author", __FILE__) require File.expand_path("../pocket/domain_metadata", __FILE__) module Pocket extend Configuration # Alias for Pocket::Client.new # # @return [Pocket::Client] def self.client(options = {}) Pocket::Client.new(options) end # Delegate to Pocket::Client def self.method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end # Delegate to Pocket::Client def self.respond_to_missing?(method) client.respond_to?(method) || super end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pocket-ruby-0.3.0 | lib/pocket-ruby.rb |