Class: SdrViewComponents::Configuration
- Inherits:
-
Object
- Object
- SdrViewComponents::Configuration
- Defined in:
- lib/sdr_view_components/configuration.rb
Overview
Configuration class for the SDR View Components gem
Instance Attribute Summary collapse
-
#component_library_url ⇒ Object
Returns the value of attribute component_library_url.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 12 |
# File 'lib/sdr_view_components/configuration.rb', line 9 def initialize # Default URL for the component library assets @component_library_url = 'https://cdn.jsdelivr.net/gh/sul-dlss/component-library@v2026-01-27' end |
Instance Attribute Details
#component_library_url ⇒ Object
Returns the value of attribute component_library_url.
7 8 9 |
# File 'lib/sdr_view_components/configuration.rb', line 7 def component_library_url @component_library_url end |