Sha256: 7a5750b97f7f0d0c3f8149382663ebf8dd8f5665820b623b923f99f066a83dca
Contents?: true
Size: 577 Bytes
Versions: 1
Compression:
Stored size: 577 Bytes
Contents
# Copyright 2018 Daniel Herzog # Use of this source code is governed by an MIT # license that can be found in the LICENSE.md file. # frozen_string_literal: true module DeepL module Resources class Text < Base attr_reader :text, :detected_source_language, :model_type_used def initialize(text, detected_source_language, model_type_used, *args) super(*args) @text = text @detected_source_language = detected_source_language @model_type_used = model_type_used end def to_s text end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
deepl-rb-3.1.0 | lib/deepl/resources/text.rb |