class Sportradar::Mlb::PlayerProfile

Attributes

player_id[R]

Public Class Methods

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

Public Instance Methods

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