class Live_Thread

Rubbit Object

Object that represents a Live Thread

Public Class Methods

new(id) click to toggle source
# File lib/Rubbit/Rubbit_Objects.rb, line 679
def initialize(id)
        @id = id
end

Public Instance Methods

get_updates() click to toggle source
# File lib/Rubbit/Rubbit_Objects.rb, line 683
def get_updates
        return ContentGenerator.new('http://www.reddit.com/live/'+@id+'.json',limit)
end
make_update(body) click to toggle source
# File lib/Rubbit/Rubbit_Objects.rb, line 687
def make_update(body)
        return Rubbit_Poster.instance.update_live(@id,body)
end