Class: ZabbixApi::Actions

Inherits:
Basic
  • Object
show all
Defined in:
lib/zabbixapi/classes/actions.rb

Instance Method Summary collapse

Methods inherited from Basic

#add, #all, #create, #create_or_update, #default_options, #delete, #destroy, #dump_by_id, #get, #get_full_data, #get_id, #get_or_create, #get_raw, #hash_equals?, #initialize, #key, #keys, #log, #merge_params, #normalize_array, #normalize_hash, #parse_keys, #symbolize_keys, #update

Constructor Details

This class inherits a constructor from ZabbixApi::Basic

Instance Method Details

#indentifyString

The id field name used for identifying specific Action objects via Zabbix API

Returns:

  • (String)


13
14
15
# File 'lib/zabbixapi/classes/actions.rb', line 13

def indentify
  'name'
end

#method_nameString

The method name used for interacting with Actions via Zabbix API

Returns:

  • (String)


6
7
8
# File 'lib/zabbixapi/classes/actions.rb', line 6

def method_name
  'action'
end