class Celsius::Primo::SoapApi
Public Class Methods
new(options = {})
click to toggle source
# File lib/celsius/primo/soap_api.rb, line 7 def initialize(options = {}) options = deep_stringify(options) @searcher_url = options["searcher_url"] end
Public Instance Methods
searcher()
click to toggle source
# File lib/celsius/primo/soap_api.rb, line 12 def searcher Searcher.new(@searcher_url) end
Private Instance Methods
deep_stringify(obj)
click to toggle source
# File lib/celsius/primo/soap_api.rb, line 19 def deep_stringify(obj) JSON.parse(JSON.dump(obj), symbolize_names: false) end