lib/sportradar/api/soccer/match.rb in sportradar-api-0.13.17 vs lib/sportradar/api/soccer/match.rb in sportradar-api-0.13.18
- old
+ new
@@ -144,13 +144,13 @@
end
def started?
['live'].include?(@status) || ['halftime', '1st_half', '2nd_half'].include?(@match_status)
end
def finished?
- ['complete', 'closed'].include?(@status) || ['ended'].include?(@match_status)
+ ['ended', 'complete', 'closed'].include?(@status) || ['ended'].include?(@match_status)
end
def completed?
- 'complete' == status
+ ['ended', 'complete'].include? status
end
def closed?
'closed' == status
end