lib/pupil/keygen/base.rb in pupil-0.1.5 vs lib/pupil/keygen/base.rb in pupil-0.2.0
- old
+ new
@@ -4,10 +4,10 @@
attr_reader :consumer_secret
attr_reader :access_token
attr_reader :access_token_secret
class MissingRequiredTokens < StandardError; end
- def initialize opts={}
+ def initialize(opts={})
@consumer_key = opts[:consumer_key] rescue nil
@consumer_secret = opts[:consumer_secret] rescue nil
@access_token = opts[:access_token] rescue nil
@access_token_secret = opts[:access_token_secret] rescue nil
end
\ No newline at end of file