21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-22 10:18:48 +02:00
chexpire/app/services/ssl/response.rb

17 lines
311 B
Ruby
Raw Normal View History

# Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Evolix <info@evolix.fr>
# License: GNU AGPL-3+ (see full text in LICENSE file)
2018-07-02 17:21:08 +02:00
module SSL
class Response
attr_accessor :expire_at
def initialize(domain)
@domain = domain
end
def valid?
expire_at.present?
end
end
end