class Sportradar::Nhl::PlayByPlay

Attributes

event_id[R]

Public Class Methods

new(event_id:) click to toggle source
# File lib/sportradar/nhl/play_by_play.rb, line 4
def initialize(event_id:)
  @event_id = event_id
end

Public Instance Methods

path() click to toggle source
# File lib/sportradar/nhl/play_by_play.rb, line 8
def path
  "games/#{event_id}/pbp.json"
end