Class: SportSearch
- Inherits:
-
Object
show all
- Defined in:
- lib/sportdb/search.rb,
lib/sportdb/search.rb,
lib/sportdb/search/sport.rb
Overview
Defined Under Namespace
Classes: ClubSearch, EventSearch, EventSeasonSearch, GroundSearch, LeagueSearch, NationalTeamSearch, PlayerSearch, Search, TeamSearch
Instance Method Summary
collapse
Constructor Details
#initialize(leagues:, national_teams:, clubs:, grounds:, events:, players:) ⇒ SportSearch
Returns a new instance of SportSearch.
Instance Method Details
#clubs ⇒ Object
51
|
# File 'lib/sportdb/search.rb', line 51
def clubs() @clubs; end
|
#countries ⇒ Object
60
61
62
63
64
65
66
|
# File 'lib/sportdb/search.rb', line 60
def countries
puts
puts "[WARN] do NOT use catalog.countries, deprecated!!!"
puts " please, switch to new world.countries search service"
puts
exit 1
end
|
#events ⇒ Object
52
|
# File 'lib/sportdb/search.rb', line 52
def events() @events; end
|
#grounds ⇒ Object
53
|
# File 'lib/sportdb/search.rb', line 53
def grounds() @grounds; end
|
#leagues ⇒ Object
49
|
# File 'lib/sportdb/search.rb', line 49
def leagues() @leagues; end
|
#national_teams ⇒ Object
50
|
# File 'lib/sportdb/search.rb', line 50
def national_teams() @national_teams; end
|
#players ⇒ Object
55
|
# File 'lib/sportdb/search.rb', line 55
def players() @players; end
|
#seasons ⇒ Object
58
|
# File 'lib/sportdb/search.rb', line 58
def seasons() @event_seasons; end
|
#teams ⇒ Object
57
|
# File 'lib/sportdb/search.rb', line 57
def teams() @teams; end
|