Class: Line::Bot::Event::Postback

Inherits:
Object
  • Object
show all
Defined in:
lib/pleiades/core_ext/line/bot/event/postback.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#actionObject (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

#paramsObject (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