Methods
Constants
| PARSE_TYPE | = | :ENCRYPTED |
Public Instance methods
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 613
613: def encrypter
614: ensure_parsed
615: @encrypter
616: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 618
618: def encrypter=( arg )
619: ensure_parsed
620: @encrypter = arg
621: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 623
623: def keyword
624: ensure_parsed
625: @keyword
626: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 628
628: def keyword=( arg )
629: ensure_parsed
630: @keyword = arg
631: end
Private Instance methods
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 648
648: def do_accept( strategy )
649: if @key
650: strategy.meta @encrypter + ','
651: strategy.space
652: strategy.meta @keyword
653: else
654: strategy.meta @encrypter
655: end
656: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 635
635: def init
636: @encrypter = nil
637: @keyword = nil
638: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 644
644: def isempty?
645: not (@encrypter or @keyword)
646: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 640
640: def set( args )
641: @encrypter, @keyword = args
642: end