Sha256: e1d8d31d13576523f15e3f5cd5173aa3fc666405fbf847e85eacfaee85eab1d0

Contents?: true

Size: 402 Bytes

Versions: 4

Compression:

Stored size: 402 Bytes

Contents

require "twitter/creatable"
require "twitter/entities"
require "twitter/identity"

module Twitter
  class DirectMessage < Twitter::Identity
    include Twitter::Creatable
    include Twitter::Entities
    # @return [String]
    attr_reader :text
    attr_reader :sender_id, :recipient_id
    alias full_text text
    object_attr_reader :User, :recipient
    object_attr_reader :User, :sender
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twitter-8.1.0 lib/twitter/direct_message.rb
twitter-8.0.1 lib/twitter/direct_message.rb
twitter-8.0.0 lib/twitter/direct_message.rb
twitter-8.0.0.rc.1 lib/twitter/direct_message.rb