class ReplTalk::Reaction

Attributes

count[R]
id[R]
type[R]

Public Class Methods

new(reaction) click to toggle source
# File lib/repltalk/structures.rb, line 112
def initialize(reaction)
        @id = reaction["id"]
        @type = reaction["type"]
        @count = reaction["count"]
end

Public Instance Methods

to_s() click to toggle source
# File lib/repltalk/structures.rb, line 118
def to_s
        @type
end