Sha256: d921a392bfc265b23ed39da05117d1a36d93d6a76f7e71d6533fcb67ced1576b
Contents?: true
Size: 533 Bytes
Versions: 9
Compression:
Stored size: 533 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
9 entries across 9 versions & 2 rubygems