Class: SportSearch::GroundSearch
- 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, city: 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
92 |
# File 'lib/sportdb/search/sport.rb', line 92 def match( name ) match_by( name: name ); end |
#match_by(name:, country: nil, city: nil) ⇒ Object
core required delegates - use delegate generator - why? why not?
84 85 86 87 88 |
# File 'lib/sportdb/search/sport.rb', line 84 def match_by( name:, country: nil, city: nil ) @service.match_by( name: name, country: country, city: city ) end |