Class: Dnsimple::Struct::Domain

Inherits:
Base
  • Object
show all
Defined in:
lib/dnsimple/struct/domain.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Dnsimple::Struct::Base

Instance Attribute Details

#auto_renewObject

Is the domain set to auto renew?



24
25
26
# File 'lib/dnsimple/struct/domain.rb', line 24

def auto_renew
  @auto_renew
end

#created_atString

Returns When the domain was created in DNSimple.

Returns:

  • (String)

    When the domain was created in DNSimple.



33
34
35
# File 'lib/dnsimple/struct/domain.rb', line 33

def created_at
  @created_at
end

#expires_onString

Returns The date the domain will expire.

Returns:

  • (String)

    The date the domain will expire.



30
31
32
# File 'lib/dnsimple/struct/domain.rb', line 30

def expires_on
  @expires_on
end

#idFixnum

Returns The domain ID in DNSimple.

Returns:

  • (Fixnum)

    The domain ID in DNSimple.



6
7
8
# File 'lib/dnsimple/struct/domain.rb', line 6

def id
  @id
end

#nameObject

The String name.



15
16
17
# File 'lib/dnsimple/struct/domain.rb', line 15

def name
  @name
end

#registrant_idFixnum

Returns The associated registrant (contact) ID.

Returns:

  • (Fixnum)

    The associated registrant (contact) ID.



12
13
14
# File 'lib/dnsimple/struct/domain.rb', line 12

def registrant_id
  @registrant_id
end

#stateObject

The String state.



18
19
20
# File 'lib/dnsimple/struct/domain.rb', line 18

def state
  @state
end

#tokenObject

The String API token



21
22
23
# File 'lib/dnsimple/struct/domain.rb', line 21

def token
  @token
end

#updated_atString

Returns When the domain was last updated in DNSimple.

Returns:

  • (String)

    When the domain was last updated in DNSimple.



36
37
38
# File 'lib/dnsimple/struct/domain.rb', line 36

def updated_at
  @updated_at
end

#user_idFixnum

Returns The associated user ID.

Returns:

  • (Fixnum)

    The associated user ID.



9
10
11
# File 'lib/dnsimple/struct/domain.rb', line 9

def user_id
  @user_id
end

#whois_protectedObject

Is the whois information protected?



27
28
29
# File 'lib/dnsimple/struct/domain.rb', line 27

def whois_protected
  @whois_protected
end