Class: Tumblr::Client
- Inherits:
-
Object
- Object
- Tumblr::Client
- 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
Instance Attribute Summary collapse
-
#consumer_key ⇒ Object
Returns the value of attribute consumer_key.
-
#consumer_secret ⇒ Object
Returns the value of attribute consumer_secret.
-
#oauth_token ⇒ Object
Returns the value of attribute oauth_token.
-
#oauth_token_secret ⇒ Object
Returns the value of attribute oauth_token_secret.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Client
constructor
A new instance of Client.
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
Constructor Details
#initialize {|_self| ... } ⇒ Client
Returns a new instance of Client.
12 13 14 |
# File 'lib/tumblr/client.rb', line 12 def initialize yield self if block_given? end |
Instance Attribute Details
#consumer_key ⇒ Object
Returns the value of attribute consumer_key.
10 11 12 |
# File 'lib/tumblr/client.rb', line 10 def consumer_key @consumer_key end |
#consumer_secret ⇒ Object
Returns the value of attribute consumer_secret.
10 11 12 |
# File 'lib/tumblr/client.rb', line 10 def consumer_secret @consumer_secret end |
#oauth_token ⇒ Object
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_secret ⇒ Object
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 |