Class: Exlibris::Primo::WebService::GetEShelfStructure

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

Overview

Get EShelf structure 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 = {}) ⇒ GetEShelfStructure

Returns a new instance of GetEShelfStructure.



182
183
184
185
# File 'lib/exlibris/primo/web_service.rb', line 182

def initialize(user_id, institution, base_url, options={})
  super("getEshelfStructure", "getEshelfStructureRequest", "getEshelfStructureRequest", user_id, institution, [tag!("includeBasketItems","false")], base_url, options, "eshelfstructure")
  raise "Error making call to Primo web service.  #{@error.inspect}" unless @error.empty? or @error.attribe
end