class Mail::Gpg::VersionPart

Constants

CONTENT_DESC
CONTENT_TYPE
VERSION_1

Public Class Methods

isVersionPart?(part) click to toggle source
# File lib/mail/gpg/version_part.rb, line 17
def self.isVersionPart?(part)
  part.mime_type == CONTENT_TYPE && part.body =~ /#{VERSION_1}/
end
new(*args) click to toggle source
Calls superclass method
# File lib/mail/gpg/version_part.rb, line 10
def initialize(*args)
  super
  body VERSION_1
  content_type CONTENT_TYPE
  content_description CONTENT_DESC
end