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(options)
  result = client.action_get({
    'filter' => {'name' => options['name']}})
    result.first['actionid']
end