Flowdock
method

collect_responses

Importance_0
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: ActionMailer::Base
collect_responses(headers) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionmailer/lib/action_mailer/base.rb, line 917
      def collect_responses(headers)
        if block_given?
          collector = ActionMailer::Collector.new(lookup_context) { render(action_name) }
          yield(collector)
          collector.responses
        elsif headers[:body]
          collect_responses_from_text(headers)
        else
          collect_responses_from_templates(headers)
        end
      end
Register or log in to add new notes.