Sha256: c94b31fc4c72741c5b16aeef32dfa33474b8ed3280234e8161181c3934d92401

Contents?: true

Size: 353 Bytes

Versions: 16

Compression:

Stored size: 353 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

16 entries across 16 versions & 1 rubygems

Version Path
fb_graph-2.4.13 lib/fb_graph/connections/messages.rb
fb_graph-2.4.12 lib/fb_graph/connections/messages.rb
fb_graph-2.4.11 lib/fb_graph/connections/messages.rb
fb_graph-2.4.10 lib/fb_graph/connections/messages.rb
fb_graph-2.4.9 lib/fb_graph/connections/messages.rb
fb_graph-2.4.8 lib/fb_graph/connections/messages.rb
fb_graph-2.4.7 lib/fb_graph/connections/messages.rb
fb_graph-2.4.6 lib/fb_graph/connections/messages.rb
fb_graph-2.4.4 lib/fb_graph/connections/messages.rb
fb_graph-2.4.3 lib/fb_graph/connections/messages.rb
fb_graph-2.4.2 lib/fb_graph/connections/messages.rb
fb_graph-2.4.1 lib/fb_graph/connections/messages.rb
fb_graph-2.4.0 lib/fb_graph/connections/messages.rb
fb_graph-2.3.2 lib/fb_graph/connections/messages.rb
fb_graph-2.3.1 lib/fb_graph/connections/messages.rb
fb_graph-2.3.0 lib/fb_graph/connections/messages.rb