lib/twitter_auth.rb in twitter-auth-0.1.13 vs lib/twitter_auth.rb in twitter-auth-0.1.14
- old
+ new
@@ -8,9 +8,13 @@
def self.base_url
config['base_url'] || 'https://twitter.com'
end
+ def self.path_prefix
+ URI.parse(base_url).path
+ end
+
def self.api_timeout
config['api_timeout'] || 10
end
def self.encryption_key