diff options
Diffstat (limited to 'app/lib/translation_service/translation.rb')
-rw-r--r-- | app/lib/translation_service/translation.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/lib/translation_service/translation.rb b/app/lib/translation_service/translation.rb new file mode 100644 index 000000000..a55b82574 --- /dev/null +++ b/app/lib/translation_service/translation.rb @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +class TranslationService::Translation < ActiveModelSerializers::Model + attributes :text, :detected_source_language +end |