Class: Stash::Harvester::Resync::ResyncSourceConfig

Inherits:
SourceConfig
  • Object
show all
Defined in:
lib/stash/harvester/resync/resync_source_config.rb

Overview

The configuration of a ResourceSync data source.

Instance Attribute Summary

Attributes inherited from SourceConfig

#source_uri

Instance Method Summary collapse

Methods inherited from SourceConfig

from_yaml

Constructor Details

#initialize(capability_list_url:) ⇒ ResyncSourceConfig

Constructs a new Stash::Harvester::Resync::ResyncSourceConfig for resources described by the specified Capability List.

Raises:

  • (URI::InvalidURIError)

    if capability_list_url is a string that is not a valid URI


16
17
18
# File 'lib/stash/harvester/resync/resync_source_config.rb', line 16

def initialize(capability_list_url:)
  super(source_url: capability_list_url)
end