Module: FbGraph::Connections::Movies

Included in:
User
Defined in:
lib/fb_graph/connections/movies.rb

Instance Method Summary collapse

Instance Method Details

#movies(options = {}) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/fb_graph/connections/movies.rb', line 4

def movies(options = {})
  movies = self.connection(:movies, options)
  movies.map! do |movie|
    Page.new(movie.delete(:id), movie.merge(
      :access_token => options[:access_token] || self.access_token
    ))
  end
end