Sha256: 3f55d5dea7b8153c289b89934479aa54c21cdf4d9986ee2b2a2762c2d430786c

Contents?: true

Size: 353 Bytes

Versions: 28

Compression:

Stored size: 353 Bytes

Contents

module FbGraph
  module Connections
    module Threads
      def threads(options = {})
        threads = self.connection(:threads, options)
        threads.map! do |thread|
          Thread.new(thread.delete(:id), thread.merge(
            :access_token => options[:access_token] || self.access_token
          ))
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
fb_graph-1.5.5 lib/fb_graph/connections/threads.rb
fb_graph-1.5.4 lib/fb_graph/connections/threads.rb
fb_graph-1.5.3 lib/fb_graph/connections/threads.rb
fb_graph-1.5.2 lib/fb_graph/connections/threads.rb
fb_graph-1.5.1 lib/fb_graph/connections/threads.rb
fb_graph-1.5.0 lib/fb_graph/connections/threads.rb
fb_graph-1.4.1 lib/fb_graph/connections/threads.rb
fb_graph-1.4.0 lib/fb_graph/connections/threads.rb