Sha256: 7cc460f73032d946001bd0a6708760d5292e7d8f609a2f61db9b273ab065e1bf
Contents?: true
Size: 421 Bytes
Versions: 23
Compression:
Stored size: 421 Bytes
Contents
module FbGraph2 class Edge module Scores def scores(params = {}) scores = self.edge :scores, params scores.collect! do |score| Struct::Score.new score end end def score!(score, params = {}) self.post params.merge(score: score), edge: :scores end def unscore!(params = {}) self.delete params, edge: :scores end end end end
Version data entries
23 entries across 23 versions & 1 rubygems