Class: PostProxy::IceBreaker
Overview
Instagram DM ice breaker (FAQ prompt). May carry extra platform fields.
Instance Attribute Summary collapse
-
#payload ⇒ Object
Returns the value of attribute payload.
-
#question ⇒ Object
Returns the value of attribute question.
Instance Method Summary collapse
Methods inherited from Model
Constructor Details
This class inherits a constructor from PostProxy::Model
Instance Attribute Details
#payload ⇒ Object
Returns the value of attribute payload.
245 246 247 |
# File 'lib/postproxy/types.rb', line 245 def payload @payload end |
#question ⇒ Object
Returns the value of attribute question.
245 246 247 |
# File 'lib/postproxy/types.rb', line 245 def question @question end |
Instance Method Details
#to_h ⇒ Object
247 248 249 |
# File 'lib/postproxy/types.rb', line 247 def to_h { question: question, payload: payload } end |