Module: Instagram
- Extended by:
- Configuration
- Defined in:
- lib/instagram-fixed.rb,
lib/instagram-fixed/api.rb,
lib/instagram-fixed/error.rb,
lib/instagram-fixed/oauth.rb,
lib/instagram-fixed/client.rb,
lib/instagram-fixed/request.rb,
lib/instagram-fixed/version.rb,
lib/instagram-fixed/connection.rb,
lib/instagram-fixed/client/tags.rb,
lib/instagram-fixed/client/likes.rb,
lib/instagram-fixed/client/media.rb,
lib/instagram-fixed/client/users.rb,
lib/instagram-fixed/client/utils.rb,
lib/instagram-fixed/configuration.rb,
lib/instagram-fixed/client/comments.rb,
lib/instagram-fixed/client/locations.rb,
lib/instagram-fixed/client/geographies.rb,
lib/instagram-fixed/client/subscriptions.rb
Defined Under Namespace
Modules: Configuration, OAuth, Request Classes: BadRequest, Client, Error, InternalServerError, InvalidSignature, NotFound, ServiceUnavailable
Constant Summary collapse
- VERSION =
'0.8.1'.freeze
Constants included from Configuration
Configuration::DEFAULT_ACCESS_TOKEN, Configuration::DEFAULT_ADAPTER, Configuration::DEFAULT_CLIENT_ID, Configuration::DEFAULT_CLIENT_SECRET, Configuration::DEFAULT_ENDPOINT, Configuration::DEFAULT_FORMAT, Configuration::DEFAULT_PROXY, Configuration::DEFAULT_REDIRECT_URI, Configuration::DEFAULT_USER_AGENT, Configuration::VALID_FORMATS, Configuration::VALID_OPTIONS_KEYS
Class Method Summary collapse
-
.client(options = {}) ⇒ Instagram::Client
Alias for Instagram::Client.new.
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to Instagram::Client.
-
.respond_to?(method) ⇒ Boolean
Delegate to Instagram::Client.
Methods included from Configuration
configure, extended, options, reset
Class Method Details
.client(options = {}) ⇒ Instagram::Client
Alias for Instagram::Client.new
12 13 14 |
# File 'lib/instagram-fixed.rb', line 12 def self.client(={}) Instagram::Client.new() end |
.method_missing(method, *args, &block) ⇒ Object
Delegate to Instagram::Client
17 18 19 20 |
# File 'lib/instagram-fixed.rb', line 17 def self.method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end |
.respond_to?(method) ⇒ Boolean
Delegate to Instagram::Client
23 24 25 |
# File 'lib/instagram-fixed.rb', line 23 def self.respond_to?(method) return client.respond_to?(method) || super end |