lib/dkim/options.rb in dkim-1.0.1 vs lib/dkim/options.rb in dkim-1.1.0
- old
+ new
@@ -20,9 +20,15 @@
# The default (nil) is to use the current time at signing.
# @return [Time,#to_i] A Time object or seconds since the epoch
define_option_method :time
# @attribute [rw]
+ # Signature expiration.
+ # This corresponds to the x= tag in the dkim header.
+ # @return [Time,#to_i] A Time object or seconds since the epoch
+ define_option_method :expire
+
+ # @attribute [rw]
# The signing algorithm for dkim. Valid values are 'rsa-sha1' and 'rsa-sha256' (default).
# This corresponds to the a= tag in the dkim header.
# @return [String] signing algorithm
define_option_method :signing_algorithm