module CBS::Client::Players

Public Instance Methods

players(opts={}) click to toggle source
# File lib/cbs/client/players.rb, line 5
def players(opts={})
  get('players/list', opts).body.players
end
profile(player_id, opts={}) click to toggle source
# File lib/cbs/client/players.rb, line 9
def profile(player_id, opts={})
  opts.merge!(player_id: player_id)


  get('players/profile', opts).body.player_profile.player
end