Module: TumblrOAuth
- Extended by:
- Configuration
- Defined in:
- lib/tumblr-oauth.rb,
lib/tumblr-oauth/error.rb,
lib/tumblr-oauth/client.rb,
lib/tumblr-oauth/request.rb,
lib/tumblr-oauth/version.rb,
lib/tumblr-oauth/connection.rb,
lib/tumblr-oauth/client/blog.rb,
lib/tumblr-oauth/client/user.rb,
lib/tumblr-oauth/configuration.rb,
lib/tumblr-oauth/authentication.rb
Defined Under Namespace
Modules: Authentication, Configuration, Connection, Request Classes: BadGateway, BadRequest, Client, Error, Forbidden, InternalServerError, NotAcceptable, NotFound, ServiceUnavailable, Unauthorized
Constant Summary collapse
- VERSION =
The version of the gem
'0.1.1'.freeze
Constants included from Configuration
Configuration::DEFAULT_BLOG_HOST, Configuration::DEFAULT_CONSUMER_KEY, Configuration::DEFAULT_CONSUMER_SECRET, Configuration::DEFAULT_DEBUG, Configuration::DEFAULT_ENDPOINT, Configuration::DEFAULT_OAUTH_TOKEN, Configuration::DEFAULT_OAUTH_TOKEN_SECRET, Configuration::VALID_OPTIONS_KEYS
Class Method Summary collapse
-
.client(options = {}) ⇒ TumblrOAuth::Client
Alias for TumblrOAuth::Client.new.
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to TumblrOAuth::Client.
- .respond_to?(method, include_private = false) ⇒ Boolean
Methods included from Configuration
configure, extended, options, reset
Class Method Details
.client(options = {}) ⇒ TumblrOAuth::Client
Alias for TumblrOAuth::Client.new
12 13 14 |
# File 'lib/tumblr-oauth.rb', line 12 def self.client(={}) TumblrOAuth::Client.new() end |
.method_missing(method, *args, &block) ⇒ Object
Delegate to TumblrOAuth::Client
17 18 19 20 |
# File 'lib/tumblr-oauth.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, include_private = false) ⇒ Boolean
22 23 24 |
# File 'lib/tumblr-oauth.rb', line 22 def self.respond_to?(method, include_private = false) client.respond_to?(method, include_private) || super(method, include_private) end |