Class: Wings::FileConverterService Deprecated
- Inherits:
-
Object
- Object
- Wings::FileConverterService
- Defined in:
- lib/wings/services/file_converter_service.rb
Overview
Deprecated.
use generic Wings converters instead.
Class Method Summary collapse
Class Method Details
.af_file_to_resource(af_file:) ⇒ Object
8 9 10 11 |
# File 'lib/wings/services/file_converter_service.rb', line 8 def af_file_to_resource(af_file:) Deprecation.warn("Use ModelTransformer.for(af_file) instead.") ModelTransformer.for(af_file) end |
.resource_to_af_file(metadata_resource:) ⇒ Object
13 14 15 16 |
# File 'lib/wings/services/file_converter_service.rb', line 13 def resource_to_af_file(metadata_resource:) Deprecation.warn("Use ActiveFedoraConverter.convert(resource:) instead.") ActiveFedoraConverter.convert(resource: ) end |