class Dogapi::V1::HostsService
Hosts API
Constants
- API_VERSION
Public Instance Methods
search(options = {})
click to toggle source
# File lib/dogapi/v1/hosts.rb 13 def search(options = {}) 14 request(Net::HTTP::Get, "/api/#{API_VERSION}/hosts", options, nil, true) 15 end
totals()
click to toggle source
# File lib/dogapi/v1/hosts.rb 17 def totals 18 request(Net::HTTP::Get, "/api/#{API_VERSION}/hosts/totals", nil, nil, true) 19 end