Class: YouTubeIt::Model::Contact

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from Record

#initialize

Constructor Details

This class inherits a constructor from YouTubeIt::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_it/model/contact.rb', line 10

def status
  @status
end

#titleObject (readonly)

String

The Youtube title of the contact.



16
17
18
# File 'lib/youtube_it/model/contact.rb', line 16

def title
  @title
end

#usernameObject (readonly)

String

The Youtube username of the contact.



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

def username
  @username
end