Class: Tumblr::Client

Inherits:
Object
  • Object
show all
Includes:
Blog, User, Connection, Error, Request
Defined in:
lib/tumblr/client.rb,
lib/tumblr/client/blog.rb,
lib/tumblr/client/user.rb

Defined Under Namespace

Modules: Blog, User

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from User

#dashboard, #follow, #following, #like, #likes, #unfollow, #unlike, #user_info

Methods included from Blog

#audio, #avatar, #blog_info, #chat, #delete_post, #drafts, #edit, #followers, #link, #photo, #posts, #queue, #quote, #reblog, #submissions, #text, #video

Methods included from Request

#delete, #get, #post, #put

Constructor Details

#initialize {|_self| ... } ⇒ Client

Returns a new instance of Client.

Yields:

  • (_self)

Yield Parameters:



12
13
14
# File 'lib/tumblr/client.rb', line 12

def initialize
  yield self if block_given?
end

Instance Attribute Details

#consumer_keyObject

Returns the value of attribute consumer_key.



10
11
12
# File 'lib/tumblr/client.rb', line 10

def consumer_key
  @consumer_key
end

#consumer_secretObject

Returns the value of attribute consumer_secret.



10
11
12
# File 'lib/tumblr/client.rb', line 10

def consumer_secret
  @consumer_secret
end

#oauth_tokenObject

Returns the value of attribute oauth_token.



10
11
12
# File 'lib/tumblr/client.rb', line 10

def oauth_token
  @oauth_token
end

#oauth_token_secretObject

Returns the value of attribute oauth_token_secret.



10
11
12
# File 'lib/tumblr/client.rb', line 10

def oauth_token_secret
  @oauth_token_secret
end