class Live_Update

Rubbit Object

Object that represents an Update in a Live Thread

Public Class Methods

new(json) click to toggle source
# File lib/Rubbit/Rubbit_Objects.rb, line 697
def initialize(json)
        if(json['kind']=='LiveUpdate')
                data = json['data']
                data.each_key do |k|
                        self.class.module_eval {attr_accessor(k)}
                        self.send("#{k}=",data[k])
                end
        end
end

Public Instance Methods

delete() click to toggle source
# File lib/Rubbit/Rubbit_Objects.rb, line 711
def delete

end
strike() click to toggle source
# File lib/Rubbit/Rubbit_Objects.rb, line 707
def strike

end