Method: Actions#get_id
- Defined in:
- lib/zapix/proxies/actions.rb
#get_id(options) ⇒ Object
12 13 14 15 16 |
# File 'lib/zapix/proxies/actions.rb', line 12 def get_id() result = client.action_get({ 'filter' => {'name' => ['name']}}) result.first['actionid'] end |