shir / tumblr-oauth

Tumblr ruby gem with OAuth support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tumblr-oauth

Tumblr ruby gem with OAuth support.

It's very raw and unstable version.

Install

gem 'tumblr-oauth'

Usage

TumblrOAuth.configure do |config|
  config.consumer_key       = 'consumer_key'
  config.consumer_secret    = 'consumer_secret'
end

tumblr_client = TumblrOAuth::Client(
  :oauth_token        => 'oauth_token'
  :oauth_token_secret => 'oauth_secret'
  :blog_host          => 'blog_host_name' # For example "test.tumblr.com"
end

Copyright

Copyright (c) 2011 Ildar Shaynurov. See LICENSE.txt for further details.

About

Tumblr ruby gem with OAuth support

License:MIT License


Languages

Language:Ruby 100.0%