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 ⇒ Fixnum
The associated domain ID.
-
#domain_name ⇒ String
The associated domain name.
-
#id ⇒ Fixnum
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 ⇒ Fixnum, 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.
30 31 32 |
# File 'lib/dnsimple/struct/collaborator.rb', line 30 def accepted_at @accepted_at end |
#created_at ⇒ String
Returns When the collaborator was created in DNSimple.
24 25 26 |
# File 'lib/dnsimple/struct/collaborator.rb', line 24 def created_at @created_at end |
#domain_id ⇒ Fixnum
Returns The associated domain ID.
9 10 11 |
# File 'lib/dnsimple/struct/collaborator.rb', line 9 def domain_id @domain_id end |
#domain_name ⇒ String
Returns The associated domain name.
12 13 14 |
# File 'lib/dnsimple/struct/collaborator.rb', line 12 def domain_name @domain_name end |
#id ⇒ Fixnum
Returns The collaborator ID in DNSimple.
6 7 8 |
# File 'lib/dnsimple/struct/collaborator.rb', line 6 def id @id end |
#invitation ⇒ TrueClass, FalseClass
Returns Invitation.
21 22 23 |
# File 'lib/dnsimple/struct/collaborator.rb', line 21 def invitation @invitation end |
#updated_at ⇒ String
Returns When the collaborator was last updated in DNSimple.
27 28 29 |
# File 'lib/dnsimple/struct/collaborator.rb', line 27 def updated_at @updated_at end |
#user_email ⇒ String
Returns The user email.
18 19 20 |
# File 'lib/dnsimple/struct/collaborator.rb', line 18 def user_email @user_email end |
#user_id ⇒ Fixnum, NilClass
Returns The user ID, if the collaborator accepted the invitation.
15 16 17 |
# File 'lib/dnsimple/struct/collaborator.rb', line 15 def user_id @user_id end |