instance method do_accept

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18 Private

Available in: v2.2.3 v2.3.18

Signature

do_accept( strategy )

No documentation comment.

Parameters

strategy req
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb, line 812
    def do_accept( strategy )
      if @sub
        strategy.meta sprintf('%s/%s', @main, @sub)
      else
        strategy.meta @main
      end
      @params.each do |k,v|
        if v
          strategy.meta ';'
          strategy.space
          strategy.kv_pair k, unquote(v)
        end
      end
    end

Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb line 812 · View on GitHub · Improve this page · Find usages on GitHub

Defined in TMail::ContentTypeHeader

Type at least 2 characters to search.

↑↓ navigate · open · esc close