Class: Line::Bot::Event::Postback
- Inherits:
-
Object
- Object
- Line::Bot::Event::Postback
- Defined in:
- lib/pleiades/core_ext/line/bot/event/postback.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(src) ⇒ Postback
constructor
A new instance of Postback.
Constructor Details
#initialize(src) ⇒ Postback
Returns a new instance of Postback.
7 8 9 10 |
# File 'lib/pleiades/core_ext/line/bot/event/postback.rb', line 7 def initialize(src) super set_instance_variables end |
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action.
5 6 7 |
# File 'lib/pleiades/core_ext/line/bot/event/postback.rb', line 5 def action @action end |
#params ⇒ Object (readonly)
Returns the value of attribute params.
5 6 7 |
# File 'lib/pleiades/core_ext/line/bot/event/postback.rb', line 5 def params @params end |