Sha256: 7a37398f15aecdf1762f6025d81575d7cb9e99e4dbe779f7ce0c05cfc2b66d53
Contents?: true
Size: 830 Bytes
Versions: 25
Compression:
Stored size: 830 Bytes
Contents
module WebService module Client require 'test_helper' class EshelfTest < Test::Unit::TestCase def setup @base_url = "http://bobcatdev.library.nyu.edu" @doc_id = "nyu_aleph000062856" @user_id = "N12162279" @institution = "NYU" end def test_get_eshelf assert_nothing_raised { VCR.use_cassette('client get eshelf') do client = Exlibris::Primo::WebService::Client::Eshelf.new :base_url => @base_url response = client.get_eshelf "<request><![CDATA[<getEshelfRequest xmlns=\"http://www.exlibris.com/primo/xsd/wsRequest\" xmlns:uic=\"http://www.exlibris.com/primo/xsd/primoview/uicomponents\"><institution>NYU</institution><userId>N12162279</userId></getEshelfRequest>]]></request>" end } end end end end
Version data entries
25 entries across 25 versions & 1 rubygems