Sha256: b4a5ea8de6dc60a6cdbe3672e1722492ad7582d8a38b969fc36771977820534e
Contents?: true
Size: 576 Bytes
Versions: 8
Compression:
Stored size: 576 Bytes
Contents
class ZabbixApi class Proxies < Basic def array_flag true end def method_name "proxy" end def indentify "host" end def delete(data) result = @client.api_request(:method => "proxy.delete", :params => data) result.empty? ? nil : result['proxyids'][0].to_i end def isreadable(data) result = @client.api_request(:method => "proxy.isreadable", :params => data) end def iswritable(data) result = @client.api_request(:method => "proxy.iswritable", :params => data) end end end
Version data entries
8 entries across 8 versions & 1 rubygems