comparison xsotter_class.rb @ 5:f1a06832e7de

change xsotter*
author KAMURA Sota <c109047@e.koeki-u.ac.jp>
date Tue, 07 Feb 2012 17:40:51 +0900
parents b79b888eceac
children 6c763cb4ea40
comparison
equal deleted inserted replaced
4:213b92c211e0 5:f1a06832e7de
8 include Twitter 8 include Twitter
9 9
10 class Xsotter 10 class Xsotter
11 11
12 def initialize (token_path) 12 def initialize (token_path)
13 @path = File.expand_path("~") + token_path 13 @path = File.expand_path(token_path)
14 # @path = File.expand_path("~") + "/.xsotter_token" 14 # @path = File.expand_path("~") + "/.xsotter_token"
15 @login = false 15 @login = false
16 @kcode = "-e" 16 @kcode = "-e"
17 oauth if File.exist?(@path) == false 17 oauth if File.exist?(@path) == false
18 18

yatex.org