Class: Twitter::DirectMessage
- Defined in:
- lib/twitter/direct_message.rb
Instance Attribute Summary collapse
-
#recipient_id ⇒ Object
readonly
Returns the value of attribute recipient_id.
-
#sender_id ⇒ Object
readonly
Returns the value of attribute sender_id.
- #text ⇒ String (also: #full_text) readonly
Attributes inherited from Identity
Attributes inherited from Base
Method Summary
Methods included from Entities
#entities?, #hashtags, #hashtags?, #media, #media?, #symbols, #symbols?, #uris, #uris?, #user_mentions, #user_mentions?
Methods included from Creatable
Methods inherited from Identity
Methods inherited from Base
#[], attr_reader, define_attribute_method, define_predicate_method, define_uri_method, display_uri_attr_reader, #initialize, object_attr_reader, predicate_attr_reader, uri_attr_reader
Methods included from Utils
Constructor Details
This class inherits a constructor from Twitter::Identity
Instance Attribute Details
#recipient_id ⇒ Object (readonly)
Returns the value of attribute recipient_id.
11 12 13 |
# File 'lib/twitter/direct_message.rb', line 11 def recipient_id @recipient_id end |
#sender_id ⇒ Object (readonly)
Returns the value of attribute sender_id.
11 12 13 |
# File 'lib/twitter/direct_message.rb', line 11 def sender_id @sender_id end |
#text ⇒ String (readonly) Also known as: full_text
10 11 12 |
# File 'lib/twitter/direct_message.rb', line 10 def text @text end |