Sha256: 0f0dbc9a5f43275a04f269932738724524499d71fb2212b38e099aacd98141c7

Contents?: true

Size: 345 Bytes

Versions: 5

Compression:

Stored size: 345 Bytes

Contents

require "celsius/primo/soap_api"

class Celsius::Primo::SoapApi::Searcher
  require_relative "./searcher/search_brief"

  def initialize(searcher_url)
    raise ArgumentError, "searcher_url is missing!" unless searcher_url
    @searcher_url = searcher_url
  end

  def searchBrief(*args)
    SearchBrief.new(@searcher_url).call(*args)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
celsius-primo-0.1.4 lib/celsius/primo/soap_api/searcher.rb
celsius-primo-0.1.3 lib/celsius/primo/soap_api/searcher.rb
celsius-primo-0.1.2 lib/celsius/primo/soap_api/searcher.rb
celsius-primo-0.1.1 lib/celsius/primo/soap_api/searcher.rb
celsius-primo-0.1.0 lib/celsius/primo/soap_api/searcher.rb