lib/exlibris/primo/web_service/request/eshelf.rb in exlibris-primo-1.0.1 vs lib/exlibris/primo/web_service/request/eshelf.rb in exlibris-primo-1.0.2
- old
+ new
@@ -3,69 +3,69 @@
module WebService
module Request
#
# Abstract class for eshelf interaction
#
- class Eshelf < User
+ class Eshelf < Exlibris::Primo::WebService::Request::User
self.add_base_elements :folder_id
self.abstract = true
self.has_client
end
#
# Abstract class for eshelf record interaction
#
- class EshelfRecord < Eshelf
+ class EshelfRecord < Exlibris::Primo::WebService::Request::Eshelf
self.add_base_elements :doc_id
self.abstract = true
end
#
# Abstract class for eshelf structure interaction
#
- class EshelfStructure < Eshelf
+ class EshelfStructure < Exlibris::Primo::WebService::Request::Eshelf
self.add_base_elements :include_basket_items
self.has_client
self.abstract = true
end
#
# Get eshelf structure from Primo for a specified user
#
- class GetEshelfStructure < EshelfStructure; end
+ class GetEshelfStructure < Exlibris::Primo::WebService::Request::EshelfStructure; end
#
# Get eshelf from Primo for a specified user
#
- class GetEshelf < Eshelf
+ class GetEshelf < Exlibris::Primo::WebService::Request::Eshelf
self.add_base_elements :get_delivery
end
#
# Add given record to Primo for a specified user
#
- class AddToEshelf < EshelfRecord
+ class AddToEshelf < Exlibris::Primo::WebService::Request::EshelfRecord
self.add_base_elements :searchkey
self.remove_base_elements :folder_id
end
#
# Remove given record from Primo for a specified user
#
- class RemoveFromEshelf < EshelfRecord; end
+ class RemoveFromEshelf < Exlibris::Primo::WebService::Request::EshelfRecord; end
#
# Add given folder name to Primo for a specified user
#
- class AddFolderToEshelf < Eshelf
+ class AddFolderToEshelf < Exlibris::Primo::WebService::Request::Eshelf
self.add_base_elements :folder_name, :parent_folder
self.remove_base_elements :folder_id
end
#
# Remove given folder from Primo for a specified user
#
- class RemoveFolderFromEshelf < Eshelf; end
+ class RemoveFolderFromEshelf < Exlibris::Primo::WebService::Request::Eshelf; end
end
end
end
end
\ No newline at end of file