Flowdock
method

custom

Importance_0
v3.0.9 - Show latest stable - 0 notes - Class: ActionMailer::Collector
custom(mime, options={}) public

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/collector.rb, line 23
    def custom(mime, options={})
      options.reverse_merge!(:content_type => mime.to_s)
      @context.freeze_formats([mime.to_sym])
      options[:body] = block_given? ? yield : @default_render.call
      @responses << options
    end
Register or log in to add new notes.