Sha256: c013dd44d9f707d334f1bfefc87abe232a55de6e9c3c35803de4fcf8a5d90fd1

Contents?: true

Size: 286 Bytes

Versions: 13

Compression:

Stored size: 286 Bytes

Contents

module FbGraph
  module Connections
    module Movies
      def movies(options = {})
        movies = FbGraph::Collection.new(get(options.merge(:connection => 'movies')))
        movies.map! do |movie|
          Page.new(movie.delete(:id), movie)
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fb_graph-0.2.2 lib/fb_graph/connections/movies.rb
fb_graph-0.2.1 lib/fb_graph/connections/movies.rb
fb_graph-0.2.0 lib/fb_graph/connections/movies.rb
fb_graph-0.1.3 lib/fb_graph/connections/movies.rb
fb_graph-0.1.2 lib/fb_graph/connections/movies.rb
fb_graph-0.1.1 lib/fb_graph/connections/movies.rb
fb_graph-0.1.0 lib/fb_graph/connections/movies.rb
fb_graph-0.0.8 lib/fb_graph/connections/movies.rb
fb_graph-0.0.7 lib/fb_graph/connections/movies.rb
fb_graph-0.0.6 lib/fb_graph/connections/movies.rb
fb_graph-0.0.5 lib/fb_graph/connections/movies.rb
fb_graph-0.0.4 lib/fb_graph/connections/movies.rb
fb_graph-0.0.3 lib/fb_graph/connections/movies.rb