Class: Dnsimple::Struct::WhoisPrivacy
- Defined in:
- lib/dnsimple/struct/whois_privacy.rb
Instance Attribute Summary collapse
-
#domain_id ⇒ Fixnum
The associated domain ID.
-
#enabled ⇒ Bool
Whether the WHOIS privacy is enabled.
-
#expires_on ⇒ String
The date the domain will expire.
-
#id ⇒ Fixnum
The WHOIS privacy ID in DNSimple.
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dnsimple::Struct::Base
Instance Attribute Details
#domain_id ⇒ Fixnum
Returns The associated domain ID.
9 10 11 |
# File 'lib/dnsimple/struct/whois_privacy.rb', line 9 def domain_id @domain_id end |
#enabled ⇒ Bool
Returns Whether the WHOIS privacy is enabled.
12 13 14 |
# File 'lib/dnsimple/struct/whois_privacy.rb', line 12 def enabled @enabled end |
#expires_on ⇒ String
Returns The date the domain will expire.
15 16 17 |
# File 'lib/dnsimple/struct/whois_privacy.rb', line 15 def expires_on @expires_on end |
#id ⇒ Fixnum
Returns The WHOIS privacy ID in DNSimple.
6 7 8 |
# File 'lib/dnsimple/struct/whois_privacy.rb', line 6 def id @id end |