Exception: AP::Search::UnsupportedSearchMethod
- Inherits:
-
StandardError
- Object
- StandardError
- AP::Search::UnsupportedSearchMethod
- Defined in:
- lib/ap/search.rb
Overview
Error class for when unsupported methords are called on searches that don’t have the seach_type to “request” (that is the default). This error is railed on objects obtained by the similar(id) method
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
8 |
# File 'lib/ap/search.rb', line 8 def to_s; "This method isn't supported for this search type"; end |