module Tumblr::Connection

Private Instance Methods

connection() click to toggle source
# File lib/tumblr/connection.rb, line 7
def connection
  @consumer ||= OAuth::Consumer.new consumer_key,  consumer_secret,  :site => API_ENDPOINT 
  @access_token ||= OAuth::AccessToken.new(@consumer, oauth_token, oauth_token_secret)
end