class RenderAPI::Clients::Deploys

Public Instance Methods

create(service_id, clear_cache: nil) click to toggle source
# File lib/render_api/clients/deploys.rb, line 8
def create(service_id, clear_cache: nil)
  body = nil
  body = { clear_cache: clear_cache } unless clear_cache.nil?

  endpoint.post(
    "/services/#{service_id}/deploys", body: body
  )
end
list(service_id, ...) click to toggle source
# File lib/render_api/clients/deploys.rb, line 17
def list(service_id, ...)
  endpoint.get(
    "/services/#{service_id}/deploys", params: list_parameters(...)
  )
end