Class: Mail::ResentBccField

Inherits:
StructuredField show all
Includes:
CommonAddress
Defined in:
lib/mail/fields/resent_bcc_field.rb

Constant Summary collapse

FIELD_NAME =
'resent-bcc'
CAPITALIZED_FIELD =
'Resent-Bcc'

Instance Method Summary collapse

Methods included from CommonAddress

included

Methods inherited from StructuredField

#default

Methods included from Utilities

included

Methods included from CommonField

included

Constructor Details

#initialize(*args) ⇒ ResentBccField

Returns a new instance of ResentBccField.



37
38
39
40
41
42
# File 'lib/mail/fields/resent_bcc_field.rb', line 37

def initialize(*args)
  super(CAPITALIZED_FIELD, strip_field(FIELD_NAME, args.last))
  self.parse
  self

end

Instance Method Details

#decodedObject



48
49
50
# File 'lib/mail/fields/resent_bcc_field.rb', line 48

def decoded
  do_decode
end

#encodedObject



44
45
46
# File 'lib/mail/fields/resent_bcc_field.rb', line 44

def encoded
  do_encode(CAPITALIZED_FIELD)
end