Sha256: 9e00f78fd24437b29da47f84800a80d5d22fc95c8aabd2248429b5c53d265514

Contents?: true

Size: 469 Bytes

Versions: 15

Compression:

Stored size: 469 Bytes

Contents

# encoding: utf-8
# 
# resent-date     =       "Resent-Date:" date-time CRLF
module Mail
  class ResentDateField < StructuredField
    
    include Mail::CommonDate
    
    FIELD_NAME = 'resent-date'
    CAPITALIZED_FIELD = 'Resent-Date'
    
    def initialize(*args)
      super(CAPITALIZED_FIELD, strip_field(FIELD_NAME, args.last))
    end
    
    def encoded
      do_encode(CAPITALIZED_FIELD)
    end
    
    def decoded
      do_decode
    end
    
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
mail-1.4.3 lib/mail/fields/resent_date_field.rb
mail-1.4.2 lib/mail/fields/resent_date_field.rb
mail-1.4.1 lib/mail/fields/resent_date_field.rb
mail-1.4.0 lib/mail/fields/resent_date_field.rb
mail-1.3.5 lib/mail/fields/resent_date_field.rb
mail-1.3.4 lib/mail/fields/resent_date_field.rb
mail-1.3.3 lib/mail/fields/resent_date_field.rb
mail-1.3.2 lib/mail/fields/resent_date_field.rb
mail-1.3.1 lib/mail/fields/resent_date_field.rb
mail-1.3.0 lib/mail/fields/resent_date_field.rb
mail-1.2.9 lib/mail/fields/resent_date_field.rb
mail-1.2.8 lib/mail/fields/resent_date_field.rb
mail-1.2.6 lib/mail/fields/resent_date_field.rb
mail-1.2.5 ./lib/mail/fields/resent_date_field.rb
mail-1.2.1 ./lib/mail/fields/resent_date_field.rb