Module: FbGraph2::Edge::Docs

Included in:
Group
Defined in:
lib/fb_graph2/edge/docs.rb

Instance Method Summary collapse

Instance Method Details

#docs(params = {}) ⇒ Object



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

def docs(params = {})
  docs = self.edge :docs, params
  docs.collect! do |doc|
    GroupDoc.new(doc[:id], doc).authenticate self.access_token
  end
end