Class: PostProxy::Reaction
Instance Attribute Summary collapse
-
#at ⇒ Object
Returns the value of attribute at.
-
#emoji ⇒ Object
Returns the value of attribute emoji.
-
#reaction ⇒ Object
Returns the value of attribute reaction.
-
#sender_external_id ⇒ Object
Returns the value of attribute sender_external_id.
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ Reaction
constructor
A new instance of Reaction.
Methods inherited from Model
Constructor Details
#initialize(**attrs) ⇒ Reaction
Returns a new instance of Reaction.
323 324 325 326 327 328 329 |
# File 'lib/postproxy/types.rb', line 323 def initialize(**attrs) @emoji = nil @reaction = nil @at = nil super @at = parse_time(@at) end |
Instance Attribute Details
#at ⇒ Object
Returns the value of attribute at.
321 322 323 |
# File 'lib/postproxy/types.rb', line 321 def at @at end |
#emoji ⇒ Object
Returns the value of attribute emoji.
321 322 323 |
# File 'lib/postproxy/types.rb', line 321 def emoji @emoji end |
#reaction ⇒ Object
Returns the value of attribute reaction.
321 322 323 |
# File 'lib/postproxy/types.rb', line 321 def reaction @reaction end |
#sender_external_id ⇒ Object
Returns the value of attribute sender_external_id.
321 322 323 |
# File 'lib/postproxy/types.rb', line 321 def sender_external_id @sender_external_id end |