lib/trimark/client.rb
def sites
      response = conn.get("#{base_url}/site", {}, query_headers)            
      body = JSON.parse(response.body)

      body.map { |b| Site.new(b) } 
    rescue JSON::ParserError
      fail QueryError, "Query Failed! HTTPStatus: #{response.status} - Response: #{body}"
    end
def sites
      response = conn.get("#{base_url}/site", {}, query_headers)            
      body = JSON.parse(response.body)

      body.map { |b| Site.new(b) } 
    rescue JSON::ParserError
      fail QueryError, "Query Failed! HTTPStatus: #{response.status} - Response: #{body}"
    end
Gets a list of all the sites for the company