Class: Keyboard::VkApps

Inherits:
BaseAction show all
Defined in:
lib/vk_cozy/dev/keyboard/action.rb

Instance Attribute Summary

Attributes inherited from BaseAction

#type

Instance Method Summary collapse

Methods inherited from BaseAction

#get_data

Constructor Details

#initialize(app_id, owner_id, payload: nil, label: nil, hash: nil) ⇒ VkApps

Returns a new instance of VkApps.



52
53
54
55
56
57
58
59
60
# File 'lib/vk_cozy/dev/keyboard/action.rb', line 52

def initialize(app_id, owner_id, payload: nil, label: nil, hash: nil)
  @type = 'open_app'

  @app_id = app_id
  @owner_id = owner_id
  @payload = payload
  @label = label
  @hash = hash
end