Sha256: 51bff44565fd729018f5967c78af669e382c2e65d001c1e23d08476cad418668

Contents?: true

Size: 278 Bytes

Versions: 4

Compression:

Stored size: 278 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fb_graph-0.0.6 lib/fb_graph/connections/links.rb
fb_graph-0.0.5 lib/fb_graph/connections/links.rb
fb_graph-0.0.4 lib/fb_graph/connections/links.rb
fb_graph-0.0.3 lib/fb_graph/connections/links.rb