Class: Wings::PermissionValue
- Inherits:
-
Valkyrie::ValueMapper
- Object
- Valkyrie::ValueMapper
- Wings::PermissionValue
- Defined in:
- lib/wings/converter_value_mapper.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.handles?(value) ⇒ Boolean
124 125 126 |
# File 'lib/wings/converter_value_mapper.rb', line 124 def self.handles?(value) value.first == :permissions end |
Instance Method Details
#result ⇒ Object
128 129 130 |
# File 'lib/wings/converter_value_mapper.rb', line 128 def result [value.first, ] end |