Sha256: a8358c5e7232fc656db4e0de5b701fc88cf40b6eaab0a5fe72e09dc8f6eca6ee
Contents?: true
Size: 576 Bytes
Versions: 49
Compression:
Stored size: 576 Bytes
Contents
module FbGraph module Connections module Tabs def tabs(options = {}) tabs = self.connection :tabs, options tabs.map! do |tab| Tab.new tab[:id], tab.merge( :access_token => options[:access_token] || self.access_token ) end end def tab!(options = {}) post options.merge(:connection => :tabs) end def tab?(application, options = {}) tab = self.connection :tabs, options.merge(:connection_scope => application.identifier) tab.present? end end end end
Version data entries
49 entries across 49 versions & 1 rubygems