Sha256: cb9488d81c0ab8bbbcafdef4a88bab2bbcb59fddf6838faf019598b5e5426fc8
Contents?: true
Size: 645 Bytes
Versions: 8
Compression:
Stored size: 645 Bytes
Contents
module FbGraph2 module OpenGraph class Action < Node include Edge::Comments include Edge::Likes::LikeeContext register_attributes( raw: [:message, :no_feed_story, :ref, :type], time: [:end_time, :publish_time, :start_time], app: [:application], profile: [:from], custom: [:object] ) def initialize(id, attributes = {}) super if attributes.include?(:data) && attributes[:data].include?(:object) _object_ = attributes[:data][:object] self.object = OpenGraph::Object.new _object_[:id], _object_ end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems