Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (23 sloc) 0.783 kb
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)
return client.respond_to?(method) || super
end
end
Jump to Line
Something went wrong with that request. Please try again.