class Plugin::Twitter::Builder

Public Class Methods

new(consumer_key, consumer_secret) click to toggle source
Calls superclass method
# File core/plugin/twitter/builder.rb, line 5
def initialize(consumer_key, consumer_secret)
  super()
  @twitter = MikuTwitter.new
  @twitter.consumer_key = consumer_key
  @twitter.consumer_secret = consumer_secret
end

Public Instance Methods

authorize_url() click to toggle source
# File core/plugin/twitter/builder.rb, line 16
def authorize_url
  request_token.authorize_url
end
build(verifier) click to toggle source
# File core/plugin/twitter/builder.rb, line 20
def build(verifier)
  verify(verifier)
end
request_token() click to toggle source
# File core/plugin/twitter/builder.rb, line 12
def request_token
  @request_token ||= @twitter.request_oauth_token
end