Module: FbGraph2::Edge::Ratings

Included in:
Page
Defined in:
lib/fb_graph2/edge/ratings.rb

Instance Method Summary collapse

Instance Method Details

#ratings(params = {}) ⇒ Object



4
5
6
7
8
9
# File 'lib/fb_graph2/edge/ratings.rb', line 4

def ratings(params = {})
  ratings = self.edge :ratings, params
  ratings.collect! do |rating|
    Struct::Rating.new rating
  end
end