Class: Mail::ResentCcField
- Inherits:
-
StructuredField
- Object
- StructuredField
- Mail::ResentCcField
- Includes:
- CommonAddress
- Defined in:
- lib/mail/fields/resent_cc_field.rb
Constant Summary collapse
- FIELD_NAME =
'resent-cc'
- CAPITALIZED_FIELD =
'Resent-Cc'
Instance Method Summary collapse
- #decoded ⇒ Object
- #encoded ⇒ Object
-
#initialize(*args) ⇒ ResentCcField
constructor
A new instance of ResentCcField.
Methods included from CommonAddress
Methods inherited from StructuredField
Methods included from Utilities
Methods included from CommonField
Constructor Details
#initialize(*args) ⇒ ResentCcField
Returns a new instance of ResentCcField.
37 38 39 40 41 42 |
# File 'lib/mail/fields/resent_cc_field.rb', line 37 def initialize(*args) super(CAPITALIZED_FIELD, strip_field(FIELD_NAME, args.last)) self.parse self end |
Instance Method Details
#decoded ⇒ Object
48 49 50 |
# File 'lib/mail/fields/resent_cc_field.rb', line 48 def decoded do_decode end |
#encoded ⇒ Object
44 45 46 |
# File 'lib/mail/fields/resent_cc_field.rb', line 44 def encoded do_encode(CAPITALIZED_FIELD) end |