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