Class: NBA::CumeStatsPlayerGamesEntry

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

Overview

Represents a single game entry from cumulative stats player games

Instance Attribute Summary collapse

Instance Attribute Details

#game_idString

Returns the game ID

Examples:

entry.game_id #=> "0022400001"

Returns:

  • (String)

    the game ID



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

attribute :game_id, Shale::Type::String

#matchupString

Returns the game matchup description

Examples:

entry.matchup #=> "GSW vs. LAL"

Returns:

  • (String)

    the matchup description



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

attribute :matchup, Shale::Type::String