Class: Twitter::DirectMessages::WelcomeMessage
- Defined in:
- lib/twitter/direct_messages/welcome_message.rb
Overview
Represents a Twitter welcome message for direct messages
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
The name of the welcome message.
-
#text ⇒ String
(also: #full_text)
readonly
The text content of the welcome message.
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
#name ⇒ String (readonly)
The name of the welcome message
27 28 29 |
# File 'lib/twitter/direct_messages/welcome_message.rb', line 27 def name @name end |
#text ⇒ String (readonly) Also known as: full_text
The text content of the welcome message
19 20 21 |
# File 'lib/twitter/direct_messages/welcome_message.rb', line 19 def text @text end |