Class: TumblrOAuth::Client
- Inherits:
-
Object
- Object
- TumblrOAuth::Client
- Includes:
- Authentication, Blog, User, Connection, Request
- Defined in:
- lib/tumblr-oauth/client.rb,
lib/tumblr-oauth/client/blog.rb,
lib/tumblr-oauth/client/user.rb
Defined Under Namespace
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
Creates a new API.
Methods included from User
Methods included from Blog
#blog_avatar, #blog_followers, #blog_info
Methods included from Request
Constructor Details
#initialize(options = {}) ⇒ Client
Creates a new API
13 14 15 16 17 18 |
# File 'lib/tumblr-oauth/client.rb', line 13 def initialize(={}) = TumblrOAuth..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |