Sha256: cd0cdeafdc7da16eb3da00ab4d3f6a5f34e50e85c5af6ed4d836b692fb2b1181
Contents?: true
Size: 489 Bytes
Versions: 6
Compression:
Stored size: 489 Bytes
Contents
module FbGraph class Status < Node include Connections::Comments attr_accessor :from, :message, :updated_time def initialize(identifier, options = {}) super if (from = options[:from]) @from = if from[:category] FbGraph::Page.new(from.delete(:id), from) else FbGraph::User.new(from.delete(:id), from) end end @message = options[:message] @updated_time = options[:updated_time] end end end
Version data entries
6 entries across 6 versions & 1 rubygems