Class: ZabbixApi::Mediatypes
- Inherits:
-
Basic
- Object
- Basic
- ZabbixApi::Mediatypes
show all
- Defined in:
- lib/zabbixapi/classes/mediatypes.rb
Instance Method Summary
collapse
Methods inherited from Basic
#add, #all, #create, #create_or_update, #delete, #destroy, #dump_by_id, #get, #get_full_data, #get_id, #get_or_create, #hash_equals?, #initialize, #key, #keys, #log, #merge_params, #normalize_array, #normalize_hash, #parse_keys, #symbolize_keys, #update
Instance Method Details
#default_options ⇒ Object
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# File 'lib/zabbixapi/classes/mediatypes.rb', line 12
def default_options
{
:description => "", :type => 0, :smtp_server => "",
:smtp_helo => "",
:smtp_email => "", :exec_path => "", :gsm_modem => "", :username => "", :passwd => "" }
end
|
#indentify ⇒ Object
8
9
10
|
# File 'lib/zabbixapi/classes/mediatypes.rb', line 8
def indentify
"description"
end
|
#method_name ⇒ Object
4
5
6
|
# File 'lib/zabbixapi/classes/mediatypes.rb', line 4
def method_name
"mediatype"
end
|