Sha256: b0c52c422a23f7fdfe47e72bad855efe7518c306adca3ea1be6426586b888668
Contents?: true
Size: 322 Bytes
Versions: 3
Compression:
Stored size: 322 Bytes
Contents
require 'twitter/base' module Twitter class Token < Twitter::Base # @return [String] attr_reader :access_token, :token_type alias_method :to_s, :access_token BEARER_TYPE = 'bearer' # @return [Boolean] def bearer? @attrs[:token_type] == BEARER_TYPE end memoize :bearer? end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
twitter-5.14.0 | lib/twitter/token.rb |
twitter-5.13.0 | lib/twitter/token.rb |
twitter-5.12.0 | lib/twitter/token.rb |