Sha256: a722d3441d95d121908b9c1d58f96de829abbfa720b6adb3b81e87edb16fa30e

Contents?: true

Size: 278 Bytes

Versions: 13

Compression:

Stored size: 278 Bytes

Contents

module FbGraph
  module Connections
    module Books
      def books(options = {})
        books = FbGraph::Collection.new(get(options.merge(:connection => 'books')))
        books.map! do |book|
          Page.new(book.delete(:id), book)
        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/books.rb
fb_graph-0.2.1 lib/fb_graph/connections/books.rb
fb_graph-0.2.0 lib/fb_graph/connections/books.rb
fb_graph-0.1.3 lib/fb_graph/connections/books.rb
fb_graph-0.1.2 lib/fb_graph/connections/books.rb
fb_graph-0.1.1 lib/fb_graph/connections/books.rb
fb_graph-0.1.0 lib/fb_graph/connections/books.rb
fb_graph-0.0.8 lib/fb_graph/connections/books.rb
fb_graph-0.0.7 lib/fb_graph/connections/books.rb
fb_graph-0.0.6 lib/fb_graph/connections/books.rb
fb_graph-0.0.5 lib/fb_graph/connections/books.rb
fb_graph-0.0.4 lib/fb_graph/connections/books.rb
fb_graph-0.0.3 lib/fb_graph/connections/books.rb