lib/service_adaptors/primo_source.rb in umlaut-3.0.0alpha9 vs lib/service_adaptors/primo_source.rb in umlaut-3.0.0alpha10

- old
+ new

@@ -1,11 +1,11 @@ # == Overview # PrimoSource is a PrimoService that converts primo_source service types into Primo source holdings. # This mechanism allows linking to original data sources and expanded holdings information # based on those sources and can be implemented per source. # To create a Primo source holding, you first must create a local class representing the source in -# module Exlibris::Primo::Source::Local which extends Exlibris::Primo::Holding. +# module Exlibris::Primo::Source which extends Exlibris::Primo::Holding. # Two methods are then available for overriding: # :expand - expand holdings that may have been collapsed into a single availlibrary element # in Primo based on information from the source # default: [self] # :dedup? - if this data source contain duplicate holdings that need to be deduped, set to true @@ -22,10 +22,10 @@ # Exlibris::Primo::Holding provides further documentation related to creating local sources. # # ==Examples # Two examples of customized sources are: # * Exlibris::Primo::Source::Aleph -# * Exlibris::Primo::Source::Local::NYUAleph +# * Exlibris::Primo::Source::NYUAleph class PrimoSource < PrimoService # Overwrites PrimoService#new. def initialize(config) @service_types = ["holding"]