class Mail::Gpg::VersionPart
Constants
- CONTENT_DESC
- CONTENT_TYPE
- VERSION_1
Public Class Methods
is_version_part?(part)
click to toggle source
# File lib/schleuder/mail/gpg/version_part.rb, line 17 def self.is_version_part?(part) part.mime_type == CONTENT_TYPE && part.body =~ /#{VERSION_1}/ end
new(*args)
click to toggle source
Calls superclass method
# File lib/schleuder/mail/gpg/version_part.rb, line 10 def initialize(*args) super body VERSION_1 content_type CONTENT_TYPE content_description CONTENT_DESC end