Exception: ElasticBeans::DnsEntry::InvalidDnsName
- Defined in:
- lib/elastic_beans/dns_entry.rb
Instance Method Summary collapse
-
#initialize(name:) ⇒ InvalidDnsName
constructor
A new instance of InvalidDnsName.
- #message ⇒ Object
Constructor Details
#initialize(name:) ⇒ InvalidDnsName
Returns a new instance of InvalidDnsName.
83 84 85 |
# File 'lib/elastic_beans/dns_entry.rb', line 83 def initialize(name:) @name = name end |
Instance Method Details
#message ⇒ Object
87 88 89 |
# File 'lib/elastic_beans/dns_entry.rb', line 87 def "Invalid DNS name `#{@name}'. Only subdomains are accepted, e.g. 'myapp.example.com'" end |