def oauth
      request_token = @oauth_consumer.get_request_token
      authorize_url = request_token.authorize_url(:oauth_consumer_key => 
        Netflix::Client.consumer_key)
      Launchy.open(authorize_url)
      puts "Go to browser, a page has been opened to establish oauth"
      printf "Pin from Netflix:"
      pin = gets.chomp
      access_token = request_token.get_access_token(:oauth_verifier => pin)
    end
def oauth
      request_token = @oauth_consumer.get_request_token
      authorize_url = request_token.authorize_url(:oauth_consumer_key => 
        Netflix::Client.consumer_key)
      Launchy.open(authorize_url)
      puts "Go to browser, a page has been opened to establish oauth"
      printf "Pin from Netflix:"
      pin = gets.chomp
      access_token = request_token.get_access_token(:oauth_verifier => pin)
    end
def oauth request_token = @oauth_consumer . get_request_token authorize_url = request_token . authorize_url ( :oauth_consumer_key => Netflix :: Client . consumer_key ) Launchy . open ( authorize_url ) puts "Go to browser, a page has been opened to establish oauth" printf "Pin from Netflix:" pin = gets . chomp access_token = request_token . get_access_token ( :oauth_verifier => pin ) end
launches the Netflix OAuth page, and asks for the pin
this is interactive (i.e. irb or commandline)
launches the Netflix OAuth page and asks for the pin this is interactive ( i . e . irb or commandline )