Sha256: 2b5fb79a734c541bb50476e02c06f6766b127440f895afa2dc083066bc0d98e9
Contents?: true
Size: 583 Bytes
Versions: 8
Compression:
Stored size: 583 Bytes
Contents
module FbGraph2 class Edge module OpenGraph module Actions def og_actions(action_type, params = {}) actions = self.edge action_type, params actions.collect! do |action| FbGraph2::OpenGraph::Action.new(action[:id], action).authenticate self.access_token end end def og_action!(action_type, params = {}) action = self.post params, edge: action_type FbGraph2::OpenGraph::Action.new(action[:id], params.merge(action)).authenticate self.access_token end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems