Method: NpbApi::Player.all

Defined in:
lib/npb-api/player.rb

.allObject



19
20
21
22
23
# File 'lib/npb-api/player.rb', line 19

def self.all
  TEAMS.each_with_object([]) do |team, arr|
    arr << list(team: team)
  end.flatten
end