Class: SdrViewComponents::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/sdr_view_components/configuration.rb

Overview

Configuration class for the SDR View Components gem

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_urlObject

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