Class: NBA::CumeStatsTeamGamesEntry

Inherits:
Shale::Mapper
  • Object
show all
Defined in:
lib/nba/cume_stats_team_games_entry.rb

Overview

Represents a cumulative stats team games entry

Instance Attribute Summary collapse

Instance Attribute Details

#game_idInteger

Returns the game ID

Examples:

entry.game_id #=> 22300001

Returns:

  • (Integer)

    the game ID



15
# File 'lib/nba/cume_stats_team_games_entry.rb', line 15

attribute :game_id, Shale::Type::Integer

#matchupString

Returns the game matchup

Examples:

entry.matchup #=> "LAL @ DEN"

Returns:

  • (String)

    the matchup



23
# File 'lib/nba/cume_stats_team_games_entry.rb', line 23

attribute :matchup, Shale::Type::String