lib/twitter_auth.rb in twitter-auth-0.1.8 vs lib/twitter_auth.rb in twitter-auth-0.1.9
- old
+ new
@@ -25,9 +25,13 @@
def self.oauth_callback
config['oauth_callback']
end
+ def self.remember_for
+ (config['remember_for'] || 14).to_i
+ end
+
# The authentication strategy employed by this
# application. Set in +config/twitter.yml+ as
# strategy; valid options are oauth or basic.
def self.strategy
strat = config['strategy']