Draft lib/inwx/query.rb