Sha256: 24b503dd94bf1a094bcfe983bd073b94519057350669b0a317e7d1c122f38b76
Contents?: true
Size: 579 Bytes
Versions: 26
Compression:
Stored size: 579 Bytes
Contents
module FbGraph module Connections module Links def links(options = {}) links = self.connection(:links, options) links.map! do |link| Link.new(link.delete(:id), link.merge( :access_token => options[:access_token] || self.access_token )) end end def link!(options = {}) link = post(options.merge(:connection => 'links')) Link.new(link.delete(:id), options.merge(link).merge( :access_token => options[:access_token] || self.access_token )) end end end end
Version data entries
26 entries across 26 versions & 2 rubygems