Module: GSGraph::Connections::Movies

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

Instance Method Summary collapse

Instance Method Details

#movies(options = {}) ⇒ Object



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

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