Sha256: a2e9f23654f5b383e1806b2bdd5465665e7d0a79d0b133247625716700a8b2b1

Contents?: true

Size: 383 Bytes

Versions: 6

Compression:

Stored size: 383 Bytes

Contents

# frozen_string_literal: true

module Workato
  module Connector
    module Sdk
      class Schema
        module Type
          class UnicodeString < ::String
            def initialize(str)
              super(str, {})
              encode!('UTF-8')
            end

            def binary?
              false
            end
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
workato-connector-sdk-1.0.1 lib/workato/connector/sdk/schema/type/unicode_string.rb
workato-connector-sdk-1.0.0 lib/workato/connector/sdk/schema/type/unicode_string.rb
workato-connector-sdk-0.5.0 lib/workato/connector/sdk/schema/type/unicode_string.rb
workato-connector-sdk-0.4.1 lib/workato/connector/sdk/schema/type/unicode_string.rb
workato-connector-sdk-0.4.0 lib/workato/connector/sdk/schema/type/unicode_string.rb
workato-connector-sdk-0.3.0 lib/workato/connector/sdk/schema/type/unicode_string.rb