7even / vkontakte_api

Ruby-адаптер для ВКонтакте API
http://7even.github.com/vkontakte_api
MIT License
283 stars 68 forks source link

Working with VK stored procedures #83

Closed leemour closed 7 years ago

leemour commented 7 years ago

I couldn't find a way to use stored procedures described here - https://vk.com/dev/execute Now I'm using VkontakteApi::API.call("execute.<my_procedure>") which isn't very sweet. Could you add this functionality or I'm happy to create PR if you give me some pointers?

7even commented 7 years ago

Actually it is supported since ec9c1127653e7365b04f086112a1f5a3979fefbc. You can use it like this:

vk.execute.procedure_name(procedure_args)
leemour commented 7 years ago

Silly me. Thanks!

tenseisan commented 5 years ago

Hi, can anyone show an example how to work with execute method and mutiple args?