Class: Hyrax::LicenseService

Inherits:
QaSelectService show all
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

#authority

Instance Method Summary collapse

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(_authority_name = nil)
  super('licenses')
end