Class: NBA::BoxScoreHustleTeamStat
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- NBA::BoxScoreHustleTeamStat
- Defined in:
- lib/nba/box_score_hustle_team_stat.rb
Overview
Represents hustle statistics for a team in a game
Instance Attribute Summary collapse
-
#box_outs ⇒ Integer
Returns box outs.
-
#charges_drawn ⇒ Integer
Returns charges drawn.
-
#contested_shots ⇒ Integer
Returns contested shots.
-
#contested_shots_2pt ⇒ Integer
Returns contested 2-point shots.
-
#contested_shots_3pt ⇒ Integer
Returns contested 3-point shots.
-
#def_box_outs ⇒ Integer
Returns defensive box outs.
-
#def_loose_balls_recovered ⇒ Integer
Returns defensive loose balls recovered.
-
#deflections ⇒ Integer
Returns deflections.
-
#game_id ⇒ String
Returns the game ID.
-
#loose_balls_recovered ⇒ Integer
Returns loose balls recovered.
-
#min ⇒ String
Returns minutes played.
-
#off_box_outs ⇒ Integer
Returns offensive box outs.
-
#off_loose_balls_recovered ⇒ Integer
Returns offensive loose balls recovered.
-
#pts ⇒ Integer
Returns points scored.
-
#screen_assists ⇒ Integer
Returns screen assists.
-
#screen_ast_pts ⇒ Integer
Returns points from screen assists.
-
#team_abbreviation ⇒ String
Returns the team abbreviation.
-
#team_city ⇒ String
Returns the team city.
-
#team_id ⇒ Integer
Returns the team ID.
-
#team_name ⇒ String
Returns the team name.
Instance Method Summary collapse
-
#game ⇒ Game?
Returns the game object.
-
#team ⇒ Team?
Returns the team object.
Instance Attribute Details
#box_outs ⇒ Integer
Returns box outs
151 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 151 attribute :box_outs, Shale::Type::Integer |
#charges_drawn ⇒ Integer
Returns charges drawn
103 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 103 attribute :charges_drawn, Shale::Type::Integer |
#contested_shots ⇒ Integer
Returns contested shots
71 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 71 attribute :contested_shots, Shale::Type::Integer |
#contested_shots_2pt ⇒ Integer
Returns contested 2-point shots
79 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 79 attribute :contested_shots_2pt, Shale::Type::Integer |
#contested_shots_3pt ⇒ Integer
Returns contested 3-point shots
87 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 87 attribute :contested_shots_3pt, Shale::Type::Integer |
#def_box_outs ⇒ Integer
Returns defensive box outs
167 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 167 attribute :def_box_outs, Shale::Type::Integer |
#def_loose_balls_recovered ⇒ Integer
Returns defensive loose balls recovered
143 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 143 attribute :def_loose_balls_recovered, Shale::Type::Integer |
#deflections ⇒ Integer
Returns deflections
95 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 95 attribute :deflections, Shale::Type::Integer |
#game_id ⇒ String
Returns the game ID
15 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 15 attribute :game_id, Shale::Type::String |
#loose_balls_recovered ⇒ Integer
Returns loose balls recovered
127 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 127 attribute :loose_balls_recovered, Shale::Type::Integer |
#min ⇒ String
Returns minutes played
55 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 55 attribute :min, Shale::Type::String |
#off_box_outs ⇒ Integer
Returns offensive box outs
159 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 159 attribute :off_box_outs, Shale::Type::Integer |
#off_loose_balls_recovered ⇒ Integer
Returns offensive loose balls recovered
135 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 135 attribute :off_loose_balls_recovered, Shale::Type::Integer |
#pts ⇒ Integer
Returns points scored
63 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 63 attribute :pts, Shale::Type::Integer |
#screen_assists ⇒ Integer
Returns screen assists
111 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 111 attribute :screen_assists, Shale::Type::Integer |
#screen_ast_pts ⇒ Integer
Returns points from screen assists
119 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 119 attribute :screen_ast_pts, Shale::Type::Integer |
#team_abbreviation ⇒ String
Returns the team abbreviation
39 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 39 attribute :team_abbreviation, Shale::Type::String |
#team_city ⇒ String
Returns the team city
47 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 47 attribute :team_city, Shale::Type::String |
#team_id ⇒ Integer
Returns the team ID
23 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 23 attribute :team_id, Shale::Type::Integer |
#team_name ⇒ String
Returns the team name
31 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 31 attribute :team_name, Shale::Type::String |
Instance Method Details
#game ⇒ Game?
Returns the game object
185 186 187 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 185 def game Games.find(game_id) end |
#team ⇒ Team?
Returns the team object
175 176 177 |
# File 'lib/nba/box_score_hustle_team_stat.rb', line 175 def team Teams.find(team_id) end |