class Faker::WorldCup

def city

Returns:
  • (String) -
def city
  fetch('world_cup.cities')
end

def group(group: 'group_A')

Returns:
  • (String) -
def group(group: 'group_A')
  fetch("world_cup.groups.#{group}")
end

def roster(country: 'Egypt', type: 'coach')

Returns:
  • (String) -
def roster(country: 'Egypt', type: 'coach')
  fetch("world_cup.rosters.#{country}.#{type}")
end

def stadium

Returns:
  • (String) -
def stadium
  fetch('world_cup.stadiums')
end

def team

Returns:
  • (String) -
def team
  fetch('world_cup.teams')
end