Class: Cloudflare::Email::ProvisionCatchallTask

Inherits:
TaskBase
  • Object
show all
Defined in:
lib/cloudflare/email/provision_catchall_task.rb

Overview

‘bin/rails cloudflare:email:provision_catchall` — points a zone’s catch-all rule at the env-scoped ingress Worker. Useful for bounce handling, dev subdomains, and alias routing.

Class Method Summary collapse

Methods inherited from TaskBase

#call, #initialize

Constructor Details

This class inherits a constructor from Cloudflare::Email::TaskBase

Class Method Details

.call(domain:, worker_name: nil, io: $stdout) ⇒ Object



11
12
13
# File 'lib/cloudflare/email/provision_catchall_task.rb', line 11

def self.call(domain:, worker_name: nil, io: $stdout)
  new(io: io, domain: domain, worker_name: worker_name).call
end