Object
@param data [Hash]
# File lib/twitter/streaming/event.rb, line 17 def initialize(data) @name = data[:event].to_sym @source = Twitter::User.new(data[:source]) @target = Twitter::User.new(data[:target]) @target_object = target_object_factory(@name, data[:target_object]) end
Generated with the Darkfish Rdoc Generator 2.