class GitHubPages::HealthCheck::Errors::WildcardRecordError
Constants
- DOCUMENTATION_PATH
Attributes
Public Class Methods
Source
# File lib/github-pages-health-check/errors/wildcard_record_error.rb, line 11 def initialize(repository: nil, domain: nil, parent_domain: nil) super(:repository => repository, :domain => domain) @parent_domain = parent_domain end
Calls superclass method
GitHubPages::HealthCheck::Error::new
Public Instance Methods
Source
# File lib/github-pages-health-check/errors/wildcard_record_error.rb, line 16 def message <<-MSG The DNS record for your domain appears to be *.#{parent_domain}, a wildcard record. Your GitHub Pages site will still work, but unless you verify ownership of #{parent_domain}, any GitHub Pages user can serve their content from an arbitrary subdomain of it. MSG end