Class: Dnsimple::Struct::Collaborator
- Defined in:
- lib/dnsimple/struct/collaborator.rb
Instance Attribute Summary collapse
-
#accepted_at ⇒ String, NilClass
When the collaborator has accepted the invitation.
-
#created_at ⇒ String
When the collaborator was created in DNSimple.
-
#domain_id ⇒ Integer
The associated domain ID.
-
#domain_name ⇒ String
The associated domain name.
-
#id ⇒ Integer
The collaborator ID in DNSimple.
-
#invitation ⇒ TrueClass, FalseClass
Invitation.
-
#updated_at ⇒ String
When the collaborator was last updated in DNSimple.
-
#user_email ⇒ String
The user email.
-
#user_id ⇒ Integer, NilClass
The user ID, if the collaborator accepted the invitation.
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dnsimple::Struct::Base
Instance Attribute Details
#accepted_at ⇒ String, NilClass
Returns When the collaborator has accepted the invitation.
31 32 33 |
# File 'lib/dnsimple/struct/collaborator.rb', line 31 def accepted_at @accepted_at end |
#created_at ⇒ String
Returns When the collaborator was created in DNSimple.
25 26 27 |
# File 'lib/dnsimple/struct/collaborator.rb', line 25 def created_at @created_at end |
#domain_id ⇒ Integer
Returns The associated domain ID.
10 11 12 |
# File 'lib/dnsimple/struct/collaborator.rb', line 10 def domain_id @domain_id end |
#domain_name ⇒ String
Returns The associated domain name.
13 14 15 |
# File 'lib/dnsimple/struct/collaborator.rb', line 13 def domain_name @domain_name end |
#id ⇒ Integer
Returns The collaborator ID in DNSimple.
7 8 9 |
# File 'lib/dnsimple/struct/collaborator.rb', line 7 def id @id end |
#invitation ⇒ TrueClass, FalseClass
Returns Invitation.
22 23 24 |
# File 'lib/dnsimple/struct/collaborator.rb', line 22 def invitation @invitation end |
#updated_at ⇒ String
Returns When the collaborator was last updated in DNSimple.
28 29 30 |
# File 'lib/dnsimple/struct/collaborator.rb', line 28 def updated_at @updated_at end |
#user_email ⇒ String
Returns The user email.
19 20 21 |
# File 'lib/dnsimple/struct/collaborator.rb', line 19 def user_email @user_email end |
#user_id ⇒ Integer, NilClass
Returns The user ID, if the collaborator accepted the invitation.
16 17 18 |
# File 'lib/dnsimple/struct/collaborator.rb', line 16 def user_id @user_id end |