Class: Musicz::Search::Repository

Inherits:
Object
  • Object
show all
Defined in:
lib/musicz/search/repository.rb

Instance Method Summary collapse

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

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/musicz/search/repository.rb', line 13

def by_id(_id_options)
  raise NotImplementedError, "subclass must implement"
end