Sha256: fa9b1f9c452cf0026e4a2692696ed8b9447ddd2f7f1d2810f6a335bba4ecb280

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

module TranslatorText
  module Types
    class Alternative < Dry::Struct
      include Types::JSON

      transform_keys(&:to_sym)

      attribute :language, Types::Symbol
      attribute :score, Types::Float
      attribute :isTranslationSupported, Types::Bool
      attribute :isTransliterationSupported, Types::Bool
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
translator-text-0.2.0 lib/translator_text/types/alternative.rb
translator-text-0.1.0 lib/translator_text/types/alternative.rb