Class: Exlibris::Primo::WebService::GetEShelf

Inherits:
EShelf show all
Defined in:
lib/exlibris/primo/web_service.rb

Overview

Get EShelf based on user_id and institution

Instance Attribute Summary

Attributes inherited from WebServiceBase

#error, #response

Instance Method Summary collapse

Methods inherited from WebServiceBase

#make_call

Constructor Details

#initialize(user_id, institution, base_url, options = {}) ⇒ GetEShelf

Returns a new instance of GetEShelf.



174
175
176
177
# File 'lib/exlibris/primo/web_service.rb', line 174

def initialize(user_id, institution, base_url, options={})
  super("getEshelf", "getEshelfRequest", "getEshelfRequest", user_id, institution, [], base_url, options)
  raise "Error making call to Primo web service.  #{@error.inspect}" unless @error.empty? or @error.attribe
end