Class: Musicz::Search::Repository
- Inherits:
-
Object
- Object
- Musicz::Search::Repository
- Defined in:
- lib/musicz/search/repository.rb
Direct Known Subclasses
Instance Method Summary collapse
- #by_id(_id_options) ⇒ Object
-
#initialize(request: default_request) ⇒ Repository
constructor
A new instance of Repository.
Constructor Details
#initialize(request: default_request) ⇒ Repository
Returns a new instance of Repository.
9 10 11 |
# File 'lib/musicz/search/repository.rb', line 9 def initialize(request: default_request) @request = request end |
Instance Method Details
#by_id(_id_options) ⇒ Object
13 14 15 |
# File 'lib/musicz/search/repository.rb', line 13 def by_id() raise NotImplementedError, "subclass must implement" end |