Class: Celsius::Primo::SoapApi::Searcher
- Inherits:
-
Object
- Object
- Celsius::Primo::SoapApi::Searcher
- Defined in:
- lib/celsius/primo/soap_api/searcher.rb
Defined Under Namespace
Classes: SearchBrief
Instance Method Summary collapse
-
#initialize(searcher_url) ⇒ Searcher
constructor
A new instance of Searcher.
- #searchBrief(*args) ⇒ Object
Constructor Details
#initialize(searcher_url) ⇒ Searcher
Returns a new instance of Searcher.
6 7 8 9 |
# File 'lib/celsius/primo/soap_api/searcher.rb', line 6 def initialize(searcher_url) raise ArgumentError, "searcher_url is missing!" unless searcher_url @searcher_url = searcher_url end |
Instance Method Details
#searchBrief(*args) ⇒ Object
11 12 13 |
# File 'lib/celsius/primo/soap_api/searcher.rb', line 11 def searchBrief(*args) SearchBrief.new(@searcher_url).call(*args) end |