Class: ZabbixApi::HostGroups

Inherits:
Basic
  • Object
show all
Defined in:
lib/zabbixapi/classes/hostgroups.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, #hash_equals?, #initialize, #keys, #log, #merge_params, #normalize_hash, #parse_keys, #symbolize_keys, #update

Constructor Details

This class inherits a constructor from ZabbixApi::Basic

Instance Method Details

#indentifyObject



8
9
10
# File 'lib/zabbixapi/classes/hostgroups.rb', line 8

def indentify
  "name"
end

#keyObject



12
13
14
# File 'lib/zabbixapi/classes/hostgroups.rb', line 12

def key
  "groupid"
end

#method_nameObject



4
5
6
# File 'lib/zabbixapi/classes/hostgroups.rb', line 4

def method_name
  "hostgroup"
end