Class: NBA::BoxScoreMiscTeamStat
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- NBA::BoxScoreMiscTeamStat
- Defined in:
- lib/nba/box_score_misc_team_stat.rb
Overview
Represents a team’s miscellaneous box score statistics for a game
Instance Attribute Summary collapse
-
#blk ⇒ Integer
Returns blocks.
-
#blka ⇒ Integer
Returns blocked attempts.
-
#game_id ⇒ String
Returns the game ID.
-
#min ⇒ String
Returns total minutes played.
-
#opp_pts_2nd_chance ⇒ Integer
Returns opponent second chance points.
-
#opp_pts_fb ⇒ Integer
Returns opponent fast break points.
-
#opp_pts_off_tov ⇒ Integer
Returns opponent points off turnovers.
-
#opp_pts_paint ⇒ Integer
Returns opponent points in the paint.
-
#pf ⇒ Integer
Returns personal fouls.
-
#pfd ⇒ Integer
Returns personal fouls drawn.
-
#pts_2nd_chance ⇒ Integer
Returns second chance points.
-
#pts_fb ⇒ Integer
Returns fast break points.
-
#pts_off_tov ⇒ Integer
Returns points off turnovers.
-
#pts_paint ⇒ Integer
Returns points in the paint.
-
#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 for this box score.
-
#team ⇒ Team?
Returns the team object.
Instance Attribute Details
#blk ⇒ Integer
Returns blocks
127 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 127 attribute :blk, Shale::Type::Integer |
#blka ⇒ Integer
Returns blocked attempts
135 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 135 attribute :blka, Shale::Type::Integer |
#game_id ⇒ String
Returns the game ID
15 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 15 attribute :game_id, Shale::Type::String |
#min ⇒ String
Returns total minutes played
55 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 55 attribute :min, Shale::Type::String |
#opp_pts_2nd_chance ⇒ Integer
Returns opponent second chance points
103 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 103 attribute :opp_pts_2nd_chance, Shale::Type::Integer |
#opp_pts_fb ⇒ Integer
Returns opponent fast break points
111 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 111 attribute :opp_pts_fb, Shale::Type::Integer |
#opp_pts_off_tov ⇒ Integer
Returns opponent points off turnovers
95 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 95 attribute :opp_pts_off_tov, Shale::Type::Integer |
#opp_pts_paint ⇒ Integer
Returns opponent points in the paint
119 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 119 attribute :opp_pts_paint, Shale::Type::Integer |
#pf ⇒ Integer
Returns personal fouls
143 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 143 attribute :pf, Shale::Type::Integer |
#pfd ⇒ Integer
Returns personal fouls drawn
151 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 151 attribute :pfd, Shale::Type::Integer |
#pts_2nd_chance ⇒ Integer
Returns second chance points
71 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 71 attribute :pts_2nd_chance, Shale::Type::Integer |
#pts_fb ⇒ Integer
Returns fast break points
79 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 79 attribute :pts_fb, Shale::Type::Integer |
#pts_off_tov ⇒ Integer
Returns points off turnovers
63 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 63 attribute :pts_off_tov, Shale::Type::Integer |
#pts_paint ⇒ Integer
Returns points in the paint
87 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 87 attribute :pts_paint, Shale::Type::Integer |
#team_abbreviation ⇒ String
Returns the team abbreviation
39 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 39 attribute :team_abbreviation, Shale::Type::String |
#team_city ⇒ String
Returns the team city
47 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 47 attribute :team_city, Shale::Type::String |
#team_id ⇒ Integer
Returns the team ID
23 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 23 attribute :team_id, Shale::Type::Integer |
#team_name ⇒ String
Returns the team name
31 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 31 attribute :team_name, Shale::Type::String |
Instance Method Details
#game ⇒ Game?
Returns the game object for this box score
169 170 171 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 169 def game Games.find(game_id) end |
#team ⇒ Team?
Returns the team object
159 160 161 |
# File 'lib/nba/box_score_misc_team_stat.rb', line 159 def team Teams.find(team_id) end |