Sha256: cb9d02a5c434f1051edcc6bb6f2defcfcd8bc439590026043b3a88cbe7e21aba
Contents?: true
Size: 537 Bytes
Versions: 4
Compression:
Stored size: 537 Bytes
Contents
class ZabbixApi class Proxies < Basic 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
4 entries across 4 versions & 1 rubygems