Class: Sportradar::Api::Basketball::FlagrantTwo

Inherits:
Foul show all
Defined in:
lib/sportradar/api/basketball/plays/flagrant_two.rb

Instance Attribute Summary

Attributes inherited from Play::Base

#clock, #description, #event_type, #game_seconds, #half, #id, #identifier, #location, #on_court, #on_court_ids, #player_id, #possession, #quarter, #response, #score, #statistics, #team_id, #updated

Instance Method Summary collapse

Methods inherited from Foul

#base_key, #foul_type

Methods inherited from Play::Base

#==, #base_key, #clock_seconds, #end_of_ot?, #end_of_period?, #end_of_regulation?, #halftime?, #handle_on_court, #handle_time, #initialize, #media_timeout?, #nba_game_seconds, #parse_statistics, #period, #points, #quarter_break?, #scoring_play?, #timeout?, #update

Methods inherited from Data

#all_attributes, #attributes, #create_data, #parse_into_array, #parse_into_array_with_options, #parse_out_hashes, #structure_links, #update_data

Constructor Details

This class inherits a constructor from Sportradar::Api::Basketball::Play::Base

Instance Method Details

#display_typeObject



5
6
7
# File 'lib/sportradar/api/basketball/plays/flagrant_two.rb', line 5

def display_type
  'Flagrant 2'
end