21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-06-11 03:54:29 +02:00
chexpire/app/services/whois/response.rb
2018-05-30 17:01:56 +02:00

16 lines
238 B
Ruby

module Whois
class Response
attr_accessor :created_at
attr_accessor :updated_at
attr_accessor :expire_at
def initialize(domain)
@domain = domain
end
def valid?
created_at.present?
end
end
end