class Sportradar::Mlb::TeamProfile

Attributes

team_id[R]

Public Class Methods

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

Public Instance Methods

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