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.
348 349 350 351 352 353 354 |
# File 'lib/postproxy/types.rb', line 348 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.
346 347 348 |
# File 'lib/postproxy/types.rb', line 346 def at @at end |
#emoji ⇒ Object
Returns the value of attribute emoji.
346 347 348 |
# File 'lib/postproxy/types.rb', line 346 def emoji @emoji end |
#reaction ⇒ Object
Returns the value of attribute reaction.
346 347 348 |
# File 'lib/postproxy/types.rb', line 346 def reaction @reaction end |
#sender_external_id ⇒ Object
Returns the value of attribute sender_external_id.
346 347 348 |
# File 'lib/postproxy/types.rb', line 346 def sender_external_id @sender_external_id end |