Sha256: aeac33fe7b47f65320b8e8321c2314ae12e9fd797fdbfee147a01ac80213a6bf

Contents?: true

Size: 355 Bytes

Versions: 4

Compression:

Stored size: 355 Bytes

Contents

module FbGraph
  module Connections
    module Messages
      def messages(options = {})
        messages = self.connection(:messages, options)
        messages.map! do |message|
          Message.new(message[:id], message.merge(
            :access_token => options[:access_token] || self.access_token
          ))
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fb_graph-2.2.6 lib/fb_graph/connections/messages.rb
fb_graph-2.2.5 lib/fb_graph/connections/messages.rb
fb_graph-2.2.4 lib/fb_graph/connections/messages.rb
fb_graph-2.2.3 lib/fb_graph/connections/messages.rb