Sha256: 7a03dbd338a5a43bb51fd441a7b59e776f038ec093329d124f363e8a00a9566d
Contents?: true
Size: 550 Bytes
Versions: 62
Compression:
Stored size: 550 Bytes
Contents
module FbGraph module Connections module Scores def scores(options = {}) scores = self.connection :scores, options scores.map! do |score| Score.new score[:id], score.merge( :access_token => options[:access_token] || self.access_token ) end end def score!(score, options = {}) post options.merge(:connection => :scores, :score => score) end def unscore!(options = {}) destroy options.merge(:connection => :scores) end end end end
Version data entries
62 entries across 62 versions & 1 rubygems
Version | Path |
---|---|
fb_graph-2.2.5 | lib/fb_graph/connections/scores.rb |
fb_graph-2.2.4 | lib/fb_graph/connections/scores.rb |