Class: Spark::Message
Instance Attribute Summary collapse
-
#created ⇒ Object
Returns the value of attribute created.
-
#files ⇒ Object
Returns the value of attribute files.
-
#html ⇒ Object
Returns the value of attribute html.
-
#id ⇒ Object
Returns the value of attribute id.
-
#markdown ⇒ Object
Returns the value of attribute markdown.
-
#mentionedPeople ⇒ Object
Returns the value of attribute mentionedPeople.
-
#personEmail ⇒ Object
Returns the value of attribute personEmail.
-
#personId ⇒ Object
Returns the value of attribute personId.
-
#roomId ⇒ Object
Returns the value of attribute roomId.
-
#roomType ⇒ Object
Returns the value of attribute roomType.
-
#text ⇒ Object
Returns the value of attribute text.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data) ⇒ Message
constructor
A new instance of Message.
Methods inherited from Base
#[], #delete, #refresh, #update
Constructor Details
#initialize(data) ⇒ Message
Returns a new instance of Message.
4 5 6 7 8 |
# File 'lib/message.rb', line 4 def initialize(data) @api_endpoint = 'messages' @update_fields = [] super end |
Instance Attribute Details
#created ⇒ Object
Returns the value of attribute created.
3 4 5 |
# File 'lib/message.rb', line 3 def created @created end |
#files ⇒ Object
Returns the value of attribute files.
3 4 5 |
# File 'lib/message.rb', line 3 def files @files end |
#html ⇒ Object
Returns the value of attribute html.
3 4 5 |
# File 'lib/message.rb', line 3 def html @html end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/message.rb', line 3 def id @id end |
#markdown ⇒ Object
Returns the value of attribute markdown.
3 4 5 |
# File 'lib/message.rb', line 3 def markdown @markdown end |
#mentionedPeople ⇒ Object
Returns the value of attribute mentionedPeople.
3 4 5 |
# File 'lib/message.rb', line 3 def mentionedPeople @mentionedPeople end |
#personEmail ⇒ Object
Returns the value of attribute personEmail.
3 4 5 |
# File 'lib/message.rb', line 3 def personEmail @personEmail end |
#personId ⇒ Object
Returns the value of attribute personId.
3 4 5 |
# File 'lib/message.rb', line 3 def personId @personId end |
#roomId ⇒ Object
Returns the value of attribute roomId.
3 4 5 |
# File 'lib/message.rb', line 3 def roomId @roomId end |
#roomType ⇒ Object
Returns the value of attribute roomType.
3 4 5 |
# File 'lib/message.rb', line 3 def roomType @roomType end |
#text ⇒ Object
Returns the value of attribute text.
3 4 5 |
# File 'lib/message.rb', line 3 def text @text end |