class Envirobly::Api

def create_deployment(params)

def create_deployment(params)
  post_as_json(api_v1_deployments_url, params:, headers: authorization_headers).tap do |response|
    unless response.code.to_i == 200
      $stderr.puts "Deployment creation request responded with #{response.code}. Aborting."
      exit 1
    end
  end
end