lib/libis/services/rosetta/collection_handler.rb in libis-services-1.0.6 vs lib/libis/services/rosetta/collection_handler.rb in libis-services-1.0.7
- old
+ new
@@ -24,11 +24,10 @@
request_object :get_collection_by_name, Rosetta::CollectionInfo, pds_handle: @pds_handle, collection_path: path
end
def create(collection_info)
collection_info = collection_info.to_hash.cleanup if collection_info.is_a? CollectionInfo
- result = call :create_collection, pds_handle: @pds_handle, collection: collection_info
- result[:return]
+ call :create_collection, pds_handle: @pds_handle, collection: collection_info
end
def delete(id)
call :delete_collection, pds_handle: @pds_handle, collection_id: id
end
\ No newline at end of file