Sha256: 2b356ef46074de35d207425f24f2eb41d4c6c79c1373a8f13a1679def928e5f1
Contents?: true
Size: 510 Bytes
Versions: 38
Compression:
Stored size: 510 Bytes
Contents
module FbGraph module Connections module Messages def messages(options = {}) messages = if @_messages_ && options.blank? self.connection(:messages, options.merge(:cached_collection => @_messages_)) else self.connection(:messages, options) end 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
38 entries across 38 versions & 1 rubygems