Sha256: 44f5e85dec3de2aa4ad01a5e7e256c7ca8587a491a22362f820fb0cb5d9f49a4
Contents?: true
Size: 299 Bytes
Versions: 14
Compression:
Stored size: 299 Bytes
Contents
require 'twitter/base' module Twitter class Token < Twitter::Base 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
14 entries across 14 versions & 1 rubygems