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