twitter-status-bot/.gems/gems/twitter-5.11.0/lib/twitter/direct_message.rb

15 lines
347 B
Ruby
Raw Normal View History

require 'twitter/creatable'
require 'twitter/entities'
require 'twitter/identity'
module Twitter
class DirectMessage < Twitter::Identity
include Twitter::Creatable
include Twitter::Entities
attr_reader :text
alias_method :full_text, :text
object_attr_reader :User, :recipient
object_attr_reader :User, :sender
end
end