Module: FbGraph2::Edge::Books

Included in:
User
Defined in:
lib/fb_graph2/edge/books.rb

Instance Method Summary collapse

Instance Method Details

#books(params = {}) ⇒ Object



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

def books(params = {})
  pages = self.edge :books, params
  pages.collect! do |page|
    Page.new(page[:id], page).authenticate self.access_token
  end
end