Class: SportDb::GoalsMinuteStruct

Inherits:
Object
  • Object
show all
Defined in:
lib/sportdb/finders/goals.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGoalsMinuteStruct

Returns a new instance of GoalsMinuteStruct.



25
26
27
28
29
# File 'lib/sportdb/finders/goals.rb', line 25

def initialize
  @offset  = 0
  @penalty = false
  @owngoal = false
end

Instance Attribute Details

#minuteObject

Returns the value of attribute minute.



22
23
24
# File 'lib/sportdb/finders/goals.rb', line 22

def minute
  @minute
end

#offsetObject

Returns the value of attribute offset.



22
23
24
# File 'lib/sportdb/finders/goals.rb', line 22

def offset
  @offset
end

#owngoalObject

flags



23
24
25
# File 'lib/sportdb/finders/goals.rb', line 23

def owngoal
  @owngoal
end

#penaltyObject

flags



23
24
25
# File 'lib/sportdb/finders/goals.rb', line 23

def penalty
  @penalty
end