Module: Exlibris::Aleph::Config
- Extended by:
- WriteAttributes
- Defined in:
- lib/exlibris/aleph/config.rb
Overview
Specify global configuration settings for
Defined Under Namespace
Modules: Attributes
Class Attribute Summary collapse
-
.adms ⇒ Object
Returns the value of attribute adms.
-
.base_url ⇒ Object
Returns the value of attribute base_url.
-
.irrelevant_sub_libraries ⇒ Object
Returns the value of attribute irrelevant_sub_libraries.
-
.load_time ⇒ Object
Returns the value of attribute load_time.
-
.logger ⇒ Object
Returns the value of attribute logger.
-
.refresh_time ⇒ Object
Returns the value of attribute refresh_time.
-
.rest_url ⇒ Object
Returns the value of attribute rest_url.
-
.tab_path ⇒ Object
Returns the value of attribute tab_path.
-
.yml_path ⇒ Object
Returns the value of attribute yml_path.
Class Method Summary collapse
Methods included from WriteAttributes
Class Attribute Details
.adms ⇒ Object
Returns the value of attribute adms.
10 11 12 |
# File 'lib/exlibris/aleph/config.rb', line 10 def adms @adms end |
.base_url ⇒ Object
Returns the value of attribute base_url.
10 11 12 |
# File 'lib/exlibris/aleph/config.rb', line 10 def base_url @base_url end |
.irrelevant_sub_libraries ⇒ Object
Returns the value of attribute irrelevant_sub_libraries.
10 11 12 |
# File 'lib/exlibris/aleph/config.rb', line 10 def irrelevant_sub_libraries @irrelevant_sub_libraries end |
.load_time ⇒ Object
Returns the value of attribute load_time.
10 11 12 |
# File 'lib/exlibris/aleph/config.rb', line 10 def load_time @load_time end |
.logger ⇒ Object
Returns the value of attribute logger.
10 11 12 |
# File 'lib/exlibris/aleph/config.rb', line 10 def logger @logger end |
.refresh_time ⇒ Object
Returns the value of attribute refresh_time.
10 11 12 |
# File 'lib/exlibris/aleph/config.rb', line 10 def refresh_time @refresh_time end |
.rest_url ⇒ Object
Returns the value of attribute rest_url.
10 11 12 |
# File 'lib/exlibris/aleph/config.rb', line 10 def rest_url @rest_url end |
.tab_path ⇒ Object
Returns the value of attribute tab_path.
10 11 12 |
# File 'lib/exlibris/aleph/config.rb', line 10 def tab_path @tab_path end |
.yml_path ⇒ Object
Returns the value of attribute yml_path.
10 11 12 |
# File 'lib/exlibris/aleph/config.rb', line 10 def yml_path @yml_path end |
Class Method Details
.load_yaml(file) ⇒ Object
13 14 15 16 |
# File 'lib/exlibris/aleph/config.rb', line 13 def load_yaml file write_attributes YAML.load_file(file) self.load_time = Time.now end |