method

to_h

rails latest stable - Class: ActiveJob::Continuation

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

to_h()
public

No documentation available.

# File activejob/lib/active_job/continuation.rb, line 235
    def to_h # :nodoc:
      {
        "completed" => completed.map(&:to_s),
        "current" => current&.to_a,
      }.compact
    end