Class: Sequencescape::Search::BaseHandler

Inherits:
Object
  • Object
show all
Includes:
Api::BasicErrorHandling
Defined in:
lib/sequencescape/search.rb

Direct Known Subclasses

SingleResultHandler

Instance Method Summary collapse

Methods included from Api::BasicErrorHandling

#missing, #redirection, #unauthenticated

Instance Method Details

#success(attributes) ⇒ Object



7
8
9
# File 'lib/sequencescape/search.rb', line 7

def success(attributes)
  raise Sequencescape::Api::Error, 'A success response from a search is unexpected'
end