def search_courses(query, attrs = {})
      attrs = self.class.prepare_attributes(attrs)
      Coursera::Course.batch_request("/courses.v1?q=search", { query: query}.merge(attrs))
    end
def search_courses(query, attrs = {})
      attrs = self.class.prepare_attributes(attrs)
      Coursera::Course.batch_request("/courses.v1?q=search", { query: query}.merge(attrs))
    end
=> client.search_courses("data analytics", { fields: [:name, :photo] })