Class: YouTubeIt::Model::User

Inherits:
Record
  • Object
show all
Defined in:
lib/youtube_it/model/user.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

#ageObject (readonly)

Returns the value of attribute age.



4
5
6
# File 'lib/youtube_it/model/user.rb', line 4

def age
  @age
end

#avatarObject (readonly)

Returns the value of attribute avatar.



24
25
26
# File 'lib/youtube_it/model/user.rb', line 24

def avatar
  @avatar
end

#booksObject (readonly)

Returns the value of attribute books.



5
6
7
# File 'lib/youtube_it/model/user.rb', line 5

def books
  @books
end

#companyObject (readonly)

Returns the value of attribute company.



6
7
8
# File 'lib/youtube_it/model/user.rb', line 6

def company
  @company
end

#descriptionObject (readonly)

Returns the value of attribute description.



7
8
9
# File 'lib/youtube_it/model/user.rb', line 7

def description
  @description
end

#genderObject (readonly)

Returns the value of attribute gender.



8
9
10
# File 'lib/youtube_it/model/user.rb', line 8

def gender
  @gender
end

#hobbiesObject (readonly)

Returns the value of attribute hobbies.



9
10
11
# File 'lib/youtube_it/model/user.rb', line 9

def hobbies
  @hobbies
end

#hometownObject (readonly)

Returns the value of attribute hometown.



10
11
12
# File 'lib/youtube_it/model/user.rb', line 10

def hometown
  @hometown
end

#join_dateObject (readonly)

Returns the value of attribute join_date.



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

def join_date
  @join_date
end

#last_loginObject (readonly)

Returns the value of attribute last_login.



11
12
13
# File 'lib/youtube_it/model/user.rb', line 11

def 
  @last_login
end

#locationObject (readonly)

Returns the value of attribute location.



12
13
14
# File 'lib/youtube_it/model/user.rb', line 12

def location
  @location
end

#moviesObject (readonly)

Returns the value of attribute movies.



14
15
16
# File 'lib/youtube_it/model/user.rb', line 14

def movies
  @movies
end

#musicObject (readonly)

Returns the value of attribute music.



15
16
17
# File 'lib/youtube_it/model/user.rb', line 15

def music
  @music
end

#occupationObject (readonly)

Returns the value of attribute occupation.



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

def occupation
  @occupation
end

#relationshipObject (readonly)

Returns the value of attribute relationship.



17
18
19
# File 'lib/youtube_it/model/user.rb', line 17

def relationship
  @relationship
end

#schoolObject (readonly)

Returns the value of attribute school.



18
19
20
# File 'lib/youtube_it/model/user.rb', line 18

def school
  @school
end

#subscribersObject (readonly)

Returns the value of attribute subscribers.



19
20
21
# File 'lib/youtube_it/model/user.rb', line 19

def subscribers
  @subscribers
end

#upload_viewsObject (readonly)

Returns the value of attribute upload_views.



20
21
22
# File 'lib/youtube_it/model/user.rb', line 20

def upload_views
  @upload_views
end

#usernameObject (readonly)

Returns the value of attribute username.



21
22
23
# File 'lib/youtube_it/model/user.rb', line 21

def username
  @username
end

#videos_watchedObject (readonly)

Returns the value of attribute videos_watched.



22
23
24
# File 'lib/youtube_it/model/user.rb', line 22

def videos_watched
  @videos_watched
end

#view_countObject (readonly)

Returns the value of attribute view_count.



23
24
25
# File 'lib/youtube_it/model/user.rb', line 23

def view_count
  @view_count
end