def get(field, filter = true)
      if field.nil? or !field.instance_of?(String)
        raise ArgumentError, "Field value must be a string"
      end
      resp = http.get("#{BASEPATH}?fields=#{field}", headers)
      data = resp.body[RESP_PREFIX.length..-1]
      data = JSON.parse(data)
      if filter && data.has_key?(field)
        data[field]
      else
        data
      end
    end
def get(field, filter = true)
      if field.nil? or !field.instance_of?(String)
        raise ArgumentError, "Field value must be a string"
      end
      resp = http.get("#{BASEPATH}?fields=#{field}", headers)
      data = resp.body[RESP_PREFIX.length..-1]
      data = JSON.parse(data)
      if filter && data.has_key?(field)
        data[field]
      else
        data
      end
    end
Base method to send a request to Quora API.
 @param [required, string] supported field (or multiple fields CSV) to retrieve
 @param [optional, bool] filter if field is a key in result hash, only this
       value is returned