Module: Exlibris::Primo::Config
- Extended by:
- WriteAttributes
- Defined in:
- lib/exlibris/primo/config.rb
Overview
Specify global configuration settings for
Defined Under Namespace
Modules: Attributes
Class Attribute Summary collapse
-
.availability_statuses ⇒ Object
Returns the value of attribute availability_statuses.
-
.base_url ⇒ Object
Returns the value of attribute base_url.
-
.facet_collections ⇒ Object
Returns the value of attribute facet_collections.
-
.facet_labels ⇒ Object
Returns the value of attribute facet_labels.
-
.facet_resource_types ⇒ Object
Returns the value of attribute facet_resource_types.
-
.facet_top_level ⇒ Object
Returns the value of attribute facet_top_level.
-
.institution ⇒ Object
Returns the value of attribute institution.
-
.institutions ⇒ Object
Returns the value of attribute institutions.
-
.libraries ⇒ Object
Returns the value of attribute libraries.
-
.load_time ⇒ Object
Returns the value of attribute load_time.
-
.sources ⇒ Object
Returns the value of attribute sources.
Class Method Summary collapse
Methods included from WriteAttributes
Class Attribute Details
.availability_statuses ⇒ Object
Returns the value of attribute availability_statuses.
9 10 11 |
# File 'lib/exlibris/primo/config.rb', line 9 def availability_statuses @availability_statuses end |
.base_url ⇒ Object
Returns the value of attribute base_url.
9 10 11 |
# File 'lib/exlibris/primo/config.rb', line 9 def base_url @base_url end |
.facet_collections ⇒ Object
Returns the value of attribute facet_collections.
9 10 11 |
# File 'lib/exlibris/primo/config.rb', line 9 def facet_collections @facet_collections end |
.facet_labels ⇒ Object
Returns the value of attribute facet_labels.
9 10 11 |
# File 'lib/exlibris/primo/config.rb', line 9 def facet_labels @facet_labels end |
.facet_resource_types ⇒ Object
Returns the value of attribute facet_resource_types.
9 10 11 |
# File 'lib/exlibris/primo/config.rb', line 9 def facet_resource_types @facet_resource_types end |
.facet_top_level ⇒ Object
Returns the value of attribute facet_top_level.
9 10 11 |
# File 'lib/exlibris/primo/config.rb', line 9 def facet_top_level @facet_top_level end |
.institution ⇒ Object
Returns the value of attribute institution.
9 10 11 |
# File 'lib/exlibris/primo/config.rb', line 9 def institution @institution end |
.institutions ⇒ Object
Returns the value of attribute institutions.
9 10 11 |
# File 'lib/exlibris/primo/config.rb', line 9 def institutions @institutions end |
.libraries ⇒ Object
Returns the value of attribute libraries.
9 10 11 |
# File 'lib/exlibris/primo/config.rb', line 9 def libraries @libraries end |
.load_time ⇒ Object
Returns the value of attribute load_time.
9 10 11 |
# File 'lib/exlibris/primo/config.rb', line 9 def load_time @load_time end |
.sources ⇒ Object
Returns the value of attribute sources.
9 10 11 |
# File 'lib/exlibris/primo/config.rb', line 9 def sources @sources end |
Class Method Details
.load_yaml(file) ⇒ Object
12 13 14 15 |
# File 'lib/exlibris/primo/config.rb', line 12 def load_yaml file write_attributes YAML.load_file(file) self.load_time = Time.now end |