Class: Sports::NationalTeam

Inherits:
Object
  • Object
show all
Defined in:
lib/sportdb/search/structs.rb

Class Method Summary collapse

Class Method Details

._searchObject

use service/api or such - why? why not?



37
38
39
# File 'lib/sportdb/search/structs.rb', line 37

def self._search #### use service/api or such - why? why not?
    SportDb::Import.catalog.national_teams
end

.find(q) ⇒ Object



41
# File 'lib/sportdb/search/structs.rb', line 41

def self.find( q )   _search.find( q ); end

.find!(q) ⇒ Object



42
# File 'lib/sportdb/search/structs.rb', line 42

def self.find!( q )  _search_find!( q ); end