Class: Samvera::Derivatives::Configuration::RegisteredType
- Inherits:
-
Struct
- Object
- Struct
- Samvera::Derivatives::Configuration::RegisteredType
- Defined in:
- lib/samvera/derivatives/configuration.rb
Overview
TODO: Consider the appropriate extension
Instance Attribute Summary collapse
-
#applicability ⇒ Object
Returns the value of attribute applicability.
-
#applicators ⇒ Object
Returns the value of attribute applicators.
-
#locators ⇒ Object
Returns the value of attribute locators.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#applicability ⇒ Object
Returns the value of attribute applicability
30 31 32 |
# File 'lib/samvera/derivatives/configuration.rb', line 30 def applicability @applicability end |
#applicators ⇒ Object
Returns the value of attribute applicators
30 31 32 |
# File 'lib/samvera/derivatives/configuration.rb', line 30 def applicators @applicators end |
#locators ⇒ Object
Returns the value of attribute locators
30 31 32 |
# File 'lib/samvera/derivatives/configuration.rb', line 30 def locators @locators end |
#type ⇒ Object
Returns the value of attribute type
30 31 32 |
# File 'lib/samvera/derivatives/configuration.rb', line 30 def type @type end |
Instance Method Details
#applicable_for?(file_set:) ⇒ Boolean
31 32 33 |
# File 'lib/samvera/derivatives/configuration.rb', line 31 def applicable_for?(file_set:) applicability.call(file_set) end |