Class: NbaStats::Resources::PlayByPlay

Inherits:
ResourceBase show all
Defined in:
lib/nba_stats/resources/play_by_play.rb

Constant Summary collapse

VALID_RESULT_SETS =

Array of valid result set names for this resource

[
    :play_by_play,      # :game_id, :eventnum, :eventmsgtype, :eventmsgactiontype, :period, :wctimestring, :pctimestring, :homedescription, :neutraldescription, :visitordescription, :score, :scoremargin,
    :available_video    # :video_available_flag,
].freeze

Instance Attribute Summary

Attributes inherited from ResourceBase

#json, #name, #params, #result_sets

Instance Method Summary collapse

Methods inherited from ResourceBase

#initialize, #to_s

Constructor Details

This class inherits a constructor from NbaStats::Resources::ResourceBase

Instance Method Details

#valid_result_setsArray

Returns:

  • (Array)


17
18
19
# File 'lib/nba_stats/resources/play_by_play.rb', line 17

def valid_result_sets
  VALID_RESULT_SETS
end