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