Class: Hyrax::LicenseService
- Inherits:
-
QaSelectService
- Object
- QaSelectService
- Hyrax::LicenseService
- Defined in:
- app/services/hyrax/license_service.rb
Overview
Provide select options for the license (dcterms:rights) field
Instance Attribute Summary
Attributes inherited from QaSelectService
Instance Method Summary collapse
-
#initialize(_authority_name = nil) ⇒ LicenseService
constructor
A new instance of LicenseService.
Methods inherited from QaSelectService
#active?, #active_elements, #include_current_value, #label, #select_active_options, #select_all_options
Constructor Details
#initialize(_authority_name = nil) ⇒ LicenseService
Returns a new instance of LicenseService.
5 6 7 |
# File 'app/services/hyrax/license_service.rb', line 5 def initialize( = nil) super('licenses') end |