Sha256: 632de4e2135d21c0c57c15a066f4c03adcec3c5b46f4525fd897a741e47ac3fd
Contents?: true
Size: 443 Bytes
Versions: 10
Compression:
Stored size: 443 Bytes
Contents
require 'twitter/creatable' require 'twitter/identity' module Twitter class DirectMessage < Twitter::Identity include Twitter::Creatable attr_reader :text alias full_text text # @return [Twitter::User] def recipient @recipient ||= Twitter::User.fetch_or_new(@attrs[:recipient]) end # @return [Twitter::User] def sender @sender ||= Twitter::User.fetch_or_new(@attrs[:sender]) end end end
Version data entries
10 entries across 10 versions & 1 rubygems