class FootballApi::Comment

Attributes

comment[RW]
id[RW]
important[RW]
is_goal[RW]
minute[RW]

Public Class Methods

new(hash = {}) click to toggle source
# File lib/football_api/comment.rb, line 5
def initialize(hash = {})
  @id        = hash[:id]
  @important = hash[:important]
  @is_goal   = hash[:isgoal]
  @minute    = hash[:minute]
  @comment   = hash[:comment]
end