mirror of
https://github.com/Evolix/chexpire.git
synced 2024-06-26 19:12:53 +02:00
16 lines
238 B
Ruby
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
|