Class: Wings::ReflectionIdsValue

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.handles?(value) ⇒ Boolean

Returns:

  • (Boolean)


112
113
114
# File 'lib/wings/converter_value_mapper.rb', line 112

def self.handles?(value)
  value.first.to_s.end_with?('_ids')
end

Instance Method Details

#resultObject



116
117
118
# File 'lib/wings/converter_value_mapper.rb', line 116

def result
  nil
end