Module: Exlibris::Aleph::Config

Defined in:
lib/exlibris/aleph/config.rb

Overview

Global configuration settings for Exlibris::Aleph

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.admsObject

Returns the value of attribute adms.



8
9
10
# File 'lib/exlibris/aleph/config.rb', line 8

def adms
  @adms
end

.base_urlObject

Returns the value of attribute base_url.



8
9
10
# File 'lib/exlibris/aleph/config.rb', line 8

def base_url
  @base_url
end

.irrelevant_sub_librariesObject

Returns the value of attribute irrelevant_sub_libraries.



8
9
10
# File 'lib/exlibris/aleph/config.rb', line 8

def irrelevant_sub_libraries
  @irrelevant_sub_libraries
end

.rest_urlObject

Returns the value of attribute rest_url.



8
9
10
# File 'lib/exlibris/aleph/config.rb', line 8

def rest_url
  @rest_url
end

.table_pathObject

Returns the value of attribute table_path.



8
9
10
# File 'lib/exlibris/aleph/config.rb', line 8

def table_path
  @table_path
end

Class Method Details

.admin_librariesObject



19
20
21
# File 'lib/exlibris/aleph/config.rb', line 19

def admin_libraries
  @admin_libraries ||= adms.map { |code| AdminLibrary.new(code) }
end