Sha256: f3a1a4223703610b03964f7093f5359ed3dfb15084b0d51e15390b9cd6c059c8

Contents?: true

Size: 569 Bytes

Versions: 11

Compression:

Stored size: 569 Bytes

Contents

# encoding: utf-8
# 
# resent-msg-id   =       "Resent-Message-ID:" msg-id CRLF
module Mail
  class ResentMessageIdField < StructuredField
    
    include CommonMessageId
    
    FIELD_NAME = 'resent-message-id'
    CAPITALIZED_FIELD = 'Resent-Message-ID'
    
    def initialize(*args)
      super(CAPITALIZED_FIELD, strip_field(FIELD_NAME, args.last))
      self.parse
      self

    end
    
    def name
      'Resent-Message-ID'
    end
    
    def encoded
      do_encode(CAPITALIZED_FIELD)
    end
    
    def decoded
      do_decode
    end
    
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
mail-2.1.5 lib/mail/fields/resent_message_id_field.rb
mail-2.1.3 lib/mail/fields/resent_message_id_field.rb
kbaum-mail-2.1.2.1 lib/mail/fields/resent_message_id_field.rb
mail-2.1.2 lib/mail/fields/resent_message_id_field.rb
mail-2.1.1 lib/mail/fields/resent_message_id_field.rb
mail-2.1.0 lib/mail/fields/resent_message_id_field.rb
mail-2.0.5 lib/mail/fields/resent_message_id_field.rb
mail-2.0.3 lib/mail/fields/resent_message_id_field.rb
mail-1.6.0 lib/mail/fields/resent_message_id_field.rb
mail-1.5.4 lib/mail/fields/resent_message_id_field.rb
mail-1.5.3 lib/mail/fields/resent_message_id_field.rb