Sha256: 7acc6160f41ef5aac22d67edd5f5b66815a625f296860d630eec6481fed81d99

Contents?: true

Size: 223 Bytes

Versions: 2

Compression:

Stored size: 223 Bytes

Contents

# frozen_string_literal: true

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

      transform_keys(&:to_sym)

      attribute :Text, Types::Strict::String
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
translator-text-0.3.1 lib/translator_text/types/sentence.rb
translator-text-0.3.0 lib/translator_text/types/sentence.rb