Class: Messed::Message::Twitter
- Inherits:
-
Messed::Message
- Object
- Messed::Message
- Messed::Message::Twitter
- Defined in:
- lib/messed/message/twitter.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#from_user_id ⇒ Object
Returns the value of attribute from_user_id.
-
#geo ⇒ Object
Returns the value of attribute geo.
-
#id ⇒ Object
Returns the value of attribute id.
-
#iso_language_code ⇒ Object
Returns the value of attribute iso_language_code.
-
#private ⇒ Object
(also: #private?)
Returns the value of attribute private.
-
#profile_image_url ⇒ Object
Returns the value of attribute profile_image_url.
-
#source ⇒ Object
Returns the value of attribute source.
-
#to_user_id ⇒ Object
Returns the value of attribute to_user_id.
Attributes inherited from Messed::Message
#body, #enqueued_at, #from, #in_reply_to, #to
Instance Method Summary collapse
-
#initialize(body = nil) ⇒ Twitter
constructor
A new instance of Twitter.
- #unique_id ⇒ Object
Methods inherited from Messed::Message
Constructor Details
#initialize(body = nil) ⇒ Twitter
Returns a new instance of Twitter.
9 10 11 12 |
# File 'lib/messed/message/twitter.rb', line 9 def initialize(body = nil) super(body) self.private = false end |
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
5 6 7 |
# File 'lib/messed/message/twitter.rb', line 5 def created_at @created_at end |
#from_user_id ⇒ Object
Returns the value of attribute from_user_id.
5 6 7 |
# File 'lib/messed/message/twitter.rb', line 5 def from_user_id @from_user_id end |
#geo ⇒ Object
Returns the value of attribute geo.
5 6 7 |
# File 'lib/messed/message/twitter.rb', line 5 def geo @geo end |
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/messed/message/twitter.rb', line 5 def id @id end |
#iso_language_code ⇒ Object
Returns the value of attribute iso_language_code.
5 6 7 |
# File 'lib/messed/message/twitter.rb', line 5 def iso_language_code @iso_language_code end |
#private ⇒ Object Also known as: private?
Returns the value of attribute private.
5 6 7 |
# File 'lib/messed/message/twitter.rb', line 5 def private @private end |
#profile_image_url ⇒ Object
Returns the value of attribute profile_image_url.
5 6 7 |
# File 'lib/messed/message/twitter.rb', line 5 def profile_image_url @profile_image_url end |
#source ⇒ Object
Returns the value of attribute source.
5 6 7 |
# File 'lib/messed/message/twitter.rb', line 5 def source @source end |
#to_user_id ⇒ Object
Returns the value of attribute to_user_id.
5 6 7 |
# File 'lib/messed/message/twitter.rb', line 5 def to_user_id @to_user_id end |
Instance Method Details
#unique_id ⇒ Object
14 15 16 |
# File 'lib/messed/message/twitter.rb', line 14 def unique_id from_user_id end |