lib/pupil/base.rb in pupil-0.6.2 vs lib/pupil/base.rb in pupil-0.6.3

- old
+ new

@@ -1,15 +1,15 @@ -require "rubygems" +require "rubygems" if RUBY_VERSION < "1.9.0" require "net/http" require "uri" require "oauth" require "json" class Pupil attr_reader :screen_name class NetworkError < StandardError ; end - TWITTER_API_URL = "http://api.twitter.com" + TWITTER_API_URL = "https://api.twitter.com" # @param [Hash] pupil_key def initialize key @consumer = OAuth::Consumer.new( key[:consumer_key], \ No newline at end of file