class Sportradar::Nba::TeamRoster

Attributes

team_id[R]

Public Class Methods

new(team_id:) click to toggle source
# File lib/sportradar/nba/team_roster.rb, line 4
def initialize(team_id:)
  @team_id = team_id
end

Public Instance Methods

path() click to toggle source
# File lib/sportradar/nba/team_roster.rb, line 8
def path
  "teams/#{team_id}/profile.json"
end