Class: YouTubeG::Model::Contact
- Defined in:
- lib/youtube_g/model/contact.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
- String
-
Identifies the status of a contact.
-
#username ⇒ Object
readonly
- String
-
The Youtube username of the contact.
Method Summary
Methods inherited from Record
Constructor Details
This class inherits a constructor from YouTubeG::Record
Instance Attribute Details
#status ⇒ Object (readonly)
- String
-
Identifies the status of a contact.
-
The tag’s value will be accepted if the authenticated user and the contact have marked each other as friends.
-
The tag’s value will be requested if the contact has asked to be added to the authenticated user’s contact list, but the request has not yet been accepted (or rejected).
-
The tag’s value will be pending if the authenticated user has asked to be added to the contact’s contact list, but the request has not yet been accepted or rejected.
10 11 12 |
# File 'lib/youtube_g/model/contact.rb', line 10 def status @status end |
#username ⇒ Object (readonly)
- String
-
The Youtube username of the contact.
13 14 15 |
# File 'lib/youtube_g/model/contact.rb', line 13 def username @username end |