Sha256: f7d1b27ab336e0cf647b7a0712f12fe0f0d5ac0e7626f0ffec6324b9d1d6fdb4
Contents?: true
Size: 618 Bytes
Versions: 35
Compression:
Stored size: 618 Bytes
Contents
module FbGraph module Connections module Tags def tags(options = {}) tags = if @_tags_ && options.blank? return @_tags_ if @_tags_.first.is_a?(Tag) self.connection(:tags, options.merge(:cached_collection => @_tags_)) else self.connection(:tags, options) end tags.map! do |tag| tag[:access_token] ||= options[:access_token] || self.access_token Tag.new(tag) end end module Taggable def tag!(options = {}) post(options.merge(:connection => :tags)) end end end end end
Version data entries
35 entries across 35 versions & 1 rubygems