Method: ContentDm::Harvester#initialize
- Defined in:
- lib/contentdm/harvester.rb
#initialize(base_uri) ⇒ Harvester
The constructor must be passed the URL of a CONTENTdm installation. This will usually be the root of the server on which CONTENTdm is installed.
19 20 21 22 |
# File 'lib/contentdm/harvester.rb', line 19 def initialize(base_uri) @base_uri = self.class.normalize(base_uri) @page_size = 1000 end |