Sha256: 5698f3eda49c34483323d4c887ad03f6eecce1f0aa1b55276db1864cf8b005e1
Contents?: true
Size: 471 Bytes
Versions: 2
Compression:
Stored size: 471 Bytes
Contents
module Thounds # @private module Authentication private # Authentication hash # # @return [Hash] def authentication { :consumer_key => consumer_key, :consumer_secret => consumer_secret, :token => oauth_token, :token_secret => oauth_token_secret } end # Check whether user is authenticated # # @return [Boolean] def authenticated? authentication.values.all? end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thounds-0.0.2 | lib/thounds/authentication.rb |
thounds-0.0.1 | lib/thounds/authentication.rb |