Class: YouTubeG::Model::Contact

Inherits:
Record
  • Object
show all
Defined in:
lib/youtube_g/model/contact.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Record

#initialize

Constructor Details

This class inherits a constructor from YouTubeG::Record

Instance Attribute Details

#statusObject (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

#usernameObject (readonly)

String

The Youtube username of the contact.



13
14
15
# File 'lib/youtube_g/model/contact.rb', line 13

def username
  @username
end