Module: RubyInstagram
- Extended by:
- Configuration
- Defined in:
- lib/ruby_instagram.rb,
lib/ruby_instagram/api.rb,
lib/ruby_instagram/error.rb,
lib/ruby_instagram/oauth.rb,
lib/ruby_instagram/client.rb,
lib/ruby_instagram/request.rb,
lib/ruby_instagram/version.rb,
lib/ruby_instagram/response.rb,
lib/ruby_instagram/connection.rb,
lib/ruby_instagram/client/users.rb,
lib/ruby_instagram/configuration.rb
Defined Under Namespace
Modules: Configuration, Connection, OAuth, Request, Response Classes: API, BadGateway, BadRequest, Client, Error, GatewayTimeout, InternalServerError, InvalidSignature, NotFound, RateLimitExceeded, ServiceUnavailable, TooManyRequests
Constant Summary collapse
- VERSION =
'0.1.0'
Constants included from Configuration
Configuration::DEFAULT_ACCESS_TOKEN, Configuration::DEFAULT_APP_ID, Configuration::DEFAULT_APP_SECRET, Configuration::DEFAULT_CONNECTION_OPTIONS, Configuration::DEFAULT_ENDPOINT, Configuration::DEFAULT_REDIRECT_URI, Configuration::DEFAULT_SCOPE, Configuration::DEFAULT_USER_AGENT, 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, include_all = false) ⇒ 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
15 16 17 |
# File 'lib/ruby_instagram.rb', line 15 def self.client( = {}) RubyInstagram::Client.new() end |
.method_missing(method, *args, &block) ⇒ Object
Delegate to Instagram::Client
20 21 22 23 24 |
# File 'lib/ruby_instagram.rb', line 20 def self.method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end |
.respond_to?(method, include_all = false) ⇒ Boolean
Delegate to Instagram::Client
27 28 29 |
# File 'lib/ruby_instagram.rb', line 27 def self.respond_to?(method, include_all = false) client.respond_to?(method, include_all) || super end |