Class: SportSearch::PlayerSearch
- Defined in:
- lib/sportdb/search/sport.rb
Instance Attribute Summary
Attributes inherited from Search
Instance Method Summary collapse
-
#match(name) ⇒ Object
more deriv support functions / helpers.
-
#match_by(name:, country: nil, year: nil) ⇒ Object
core required delegates - use delegate generator - why? why not?.
Methods inherited from Search
Constructor Details
This class inherits a constructor from SportSearch::Search
Instance Method Details
#match(name) ⇒ Object
more deriv support functions / helpers
20 |
# File 'lib/sportdb/search/sport.rb', line 20 def match( name ) match_by( name: name ); end |
#match_by(name:, country: nil, year: nil) ⇒ Object
core required delegates - use delegate generator - why? why not?
12 13 14 15 16 |
# File 'lib/sportdb/search/sport.rb', line 12 def match_by( name:, country: nil, year: nil ) @service.match_by( name: name, country: country, year: year ) end |