Sha256: fa64dfceae764360d0a7cc09e18f6255bc22ede224127a8967ed1ce9f9bff6b9
Contents?: true
Size: 564 Bytes
Versions: 42
Compression:
Stored size: 564 Bytes
Contents
module FbGraph module Connections module Notes def notes(options = {}) notes = self.connection(:notes, options) notes.map! do |note| Note.new(note[:id], note.merge( :access_token => options[:access_token] || self.access_token )) end end def note!(options = {}) note = post(options.merge(:connection => :notes)) Note.new(note[:id], options.merge(note).merge( :access_token => options[:access_token] || self.access_token )) end end end end
Version data entries
42 entries across 42 versions & 1 rubygems