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.



4
5
6
# File 'app/services/hyrax/license_service.rb', line 4

def initialize(_authority_name = nil)
  super('licenses')
end