mirror of
https://github.com/Evolix/chexpire.git
synced 2024-06-28 12:02:52 +02:00
17 lines
311 B
Ruby
17 lines
311 B
Ruby
# Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Evolix <info@evolix.fr>
|
|
# License: GNU AGPL-3+ (see full text in LICENSE file)
|
|
|
|
module SSL
|
|
class Response
|
|
attr_accessor :expire_at
|
|
|
|
def initialize(domain)
|
|
@domain = domain
|
|
end
|
|
|
|
def valid?
|
|
expire_at.present?
|
|
end
|
|
end
|
|
end
|