Module: FbGraph::Connections::Links

Included in:
Page, User
Defined in:
lib/fb_graph/connections/links.rb

Instance Method Summary collapse

Instance Method Details



4
5
6
7
8
9
# File 'lib/fb_graph/connections/links.rb', line 4

def links(options = {})
  links = FbGraph::Collection.new(get(options.merge(:connection => 'links')))
  links.map! do |link|
    Link.new(link.delete(:id), link)
  end
end