Class: Twitter::DirectMessages::WelcomeMessage

Inherits:
Identity
  • Object
show all
Includes:
Creatable, Entities
Defined in:
lib/twitter/direct_messages/welcome_message.rb

Instance Attribute Summary collapse

Attributes inherited from Identity

#id

Attributes inherited from Base

#attrs

Method Summary

Methods included from Entities

#entities?, #hashtags, #hashtags?, #media, #media?, #symbols, #symbols?, #uris, #uris?, #user_mentions, #user_mentions?

Methods included from Creatable

#created?, #created_at

Methods inherited from Identity

#initialize

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

flat_pmap, pmap

Constructor Details

This class inherits a constructor from Twitter::Identity

Instance Attribute Details

#nameString (readonly)

Returns:

  • (String)


13
14
15
# File 'lib/twitter/direct_messages/welcome_message.rb', line 13

def name
  @name
end

#textString (readonly) Also known as: full_text

Returns:

  • (String)


11
12
13
# File 'lib/twitter/direct_messages/welcome_message.rb', line 11

def text
  @text
end