diff --git a/lib/dogapi/common.rb b/lib/dogapi/common.rb index fd626eae..63f312cc 100644 --- a/lib/dogapi/common.rb +++ b/lib/dogapi/common.rb @@ -1,6 +1,5 @@ require 'cgi' require 'net/https' -require 'pp' require 'socket' require 'uri' diff --git a/lib/dogapi/v1/hosts.rb b/lib/dogapi/v1/hosts.rb index 50c180a4..7bd65aaf 100644 --- a/lib/dogapi/v1/hosts.rb +++ b/lib/dogapi/v1/hosts.rb @@ -9,7 +9,7 @@ class HostsService < Dogapi::APIService API_VERSION = 'v1' def search(options = {}) - request(Net::HTTP::Get, "/api/#{API_VERSION}/hosts", nil, options, true) + request(Net::HTTP::Get, "/api/#{API_VERSION}/hosts", options, nil, true) end def totals