Module: DomainSanity::RegistrableTypeFacts
Overview
Shared to_h slots for the kinds that carry a registrable domain (Hostname and Wildcard). Each including class supplies its own registrable_domain / public_suffix; this just maps them into the uniform to_h shape.
Instance Method Summary collapse
Instance Method Details
#type_facts ⇒ Object
125 126 127 |
# File 'lib/domain_sanity/subject.rb', line 125 def type_facts {registrable_domain: registrable_domain, public_suffix: public_suffix} end |