Class: Keyboard::OpenLink
- Inherits:
-
BaseAction
- Object
- BaseAction
- Keyboard::OpenLink
- Defined in:
- lib/vk_cozy/dev/keyboard/action.rb
Instance Attribute Summary
Attributes inherited from BaseAction
Instance Method Summary collapse
-
#initialize(label, link, payload: nil) ⇒ OpenLink
constructor
A new instance of OpenLink.
Methods inherited from BaseAction
Constructor Details
#initialize(label, link, payload: nil) ⇒ OpenLink
Returns a new instance of OpenLink.
25 26 27 28 29 30 31 |
# File 'lib/vk_cozy/dev/keyboard/action.rb', line 25 def initialize(label, link, payload: nil) @type = 'open_link' @label = label @link = link @payload = payload end |