Sha256: 1af02f048b6b67cfc7c4031b61a3454843a1369c46ef02f001e5a5dff4ab3c12

Contents?: true

Size: 226 Bytes

Versions: 4

Compression:

Stored size: 226 Bytes

Contents

module CertificateAuthority
  class SerialNumber
    include ActiveModel::Validations
    include Revocable

    attr_accessor :number

    validates :number, :presence => true, :numericality => {:greater_than => 0}
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
leap_cli-1.5.6 vendor/certificate_authority/lib/certificate_authority/serial_number.rb
leap_cli-1.5.1 vendor/certificate_authority/lib/certificate_authority/serial_number.rb
leap_cli-1.5.0 vendor/certificate_authority/lib/certificate_authority/serial_number.rb
leap_cli-1.2.5 vendor/certificate_authority/lib/certificate_authority/serial_number.rb