Sha256: 95eb8070e3ecdeea480836d4a88da5372f0bbd4b47a4c5f363b89578f32c142e
Contents?: true
Size: 815 Bytes
Versions: 17
Compression:
Stored size: 815 Bytes
Contents
require File.expand_path('../instagram/error', __FILE__) require File.expand_path('../instagram/configuration', __FILE__) require File.expand_path('../instagram/api', __FILE__) require File.expand_path('../instagram/client', __FILE__) require File.expand_path('../instagram/response', __FILE__) module Instagram extend Configuration # Alias for Instagram::Client.new # # @return [Instagram::Client] def self.client(options={}) Instagram::Client.new(options) end # Delegate to Instagram::Client def self.method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end # Delegate to Instagram::Client def self.respond_to?(method, include_all=false) return client.respond_to?(method, include_all) || super end end
Version data entries
17 entries across 17 versions & 4 rubygems