Class: Wings::ReservedAttributeValue

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

Constant Summary collapse

ATTRIBUTES =
[:internal_resource, :access_to, :new_record, :id,
:alternate_ids, :created_at, :updated_at,
:optimistic_lock_token].freeze

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.handles?(value) ⇒ Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/wings/converter_value_mapper.rb', line 19

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

Instance Method Details

#resultObject



23
24
25
# File 'lib/wings/converter_value_mapper.rb', line 23

def result
  nil
end