Sha256: 217773073d511f60b84c92079e620e7ec7887594a87273d38ee2e998b72ee13b
Contents?: true
Size: 391 Bytes
Versions: 3
Compression:
Stored size: 391 Bytes
Contents
module AngellistApi # @private module Authentication private # Authentication hash # # @return [Hash] def authentication { :access_token => respond_to?(:access_token) ? access_token : nil, } end # Check whether user is authenticated # # @return [Boolean] def authenticated? authentication.values.all? end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
angellist_api-1.0.1 | lib/angellist_api/authentication.rb |
angellist_api-0.1.2 | lib/angellist_api/authentication.rb |
angellist_api-1.0.0 | lib/angellist_api/authentication.rb |