Class: YouTubeG::Model::Rating

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

#averageObject (readonly)

Returns the value of attribute average.



4
5
6
# File 'lib/youtube_g/model/rating.rb', line 4

def average
  @average
end

#maxObject (readonly)

Returns the value of attribute max.



5
6
7
# File 'lib/youtube_g/model/rating.rb', line 5

def max
  @max
end

#minObject (readonly)

Returns the value of attribute min.



6
7
8
# File 'lib/youtube_g/model/rating.rb', line 6

def min
  @min
end

#rater_countObject (readonly)

Returns the value of attribute rater_count.



7
8
9
# File 'lib/youtube_g/model/rating.rb', line 7

def rater_count
  @rater_count
end