Class: Keyboard::VkPay

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(payload: nil, hash: nil) ⇒ VkPay

Returns a new instance of VkPay.



43
44
45
46
47
48
# File 'lib/vk_cozy/dev/keyboard/action.rb', line 43

def initialize(payload: nil, hash: nil)
  @type = 'vkpay'

  @payload = payload
  @hash = hash
end