Class: WeixinPam::PublicAccountReply::KeyEventCallback
- Inherits:
-
Object
- Object
- WeixinPam::PublicAccountReply::KeyEventCallback
- Defined in:
- lib/weixin_pam/public_account_reply.rb
Instance Attribute Summary collapse
-
#callback ⇒ Object
Returns the value of attribute callback.
-
#description ⇒ Object
Returns the value of attribute description.
-
#key ⇒ Object
Returns the value of attribute key.
Instance Method Summary collapse
Instance Attribute Details
#callback ⇒ Object
Returns the value of attribute callback.
6 7 8 |
# File 'lib/weixin_pam/public_account_reply.rb', line 6 def callback @callback end |
#description ⇒ Object
Returns the value of attribute description.
6 7 8 |
# File 'lib/weixin_pam/public_account_reply.rb', line 6 def description @description end |
#key ⇒ Object
Returns the value of attribute key.
6 7 8 |
# File 'lib/weixin_pam/public_account_reply.rb', line 6 def key @key end |
Instance Method Details
#execute(service) ⇒ Object
7 8 9 |
# File 'lib/weixin_pam/public_account_reply.rb', line 7 def execute(service) callback.call(service) end |