Class: Wings::FedoraProtectedAttributes

Inherits:
Valkyrie::ValueMapper
  • Object
show all
Defined in:
lib/wings/converter_value_mapper.rb

Constant Summary collapse

ATTRIBUTES =
[:create_date, :modified_date, :head, :tail, :has_model].freeze

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.handles?(value) ⇒ Boolean

Returns:

  • (Boolean)


33
34
35
# File 'lib/wings/converter_value_mapper.rb', line 33

def self.handles?(value)
  ATTRIBUTES.include?(value.first)
end

Instance Method Details

#resultObject



37
38
39
# File 'lib/wings/converter_value_mapper.rb', line 37

def result
  nil
end