Method: Qa::Authorities::LinkedData::TermConfig#initialize

Defined in:
lib/qa/authorities/linked_data/config/term_config.rb

#initialize(config, prefixes = {}, full_config = nil) ⇒ TermConfig

Returns a new instance of TermConfig.

Parameters:

  • config (Hash)

    the term portion of the config

  • prefixes (Hash<Symbol><String>) (defaults to: {})

    URL map of prefixes to use with ldpaths

  • full_config (Qa::Authorities::LinkedData::Config) (defaults to: nil)

    the full linked data configuration that the passed in term config is part of



16
17
18
19
20
# File 'lib/qa/authorities/linked_data/config/term_config.rb', line 16

def initialize(config, prefixes = {}, full_config = nil)
  @term_config = config
  @prefixes = prefixes
  @full_config = full_config
end