Sha256: f8125d61413d27d62eede51b9f94c0c2b198bf94bbf6fa3ac27b24a69f11daf9

Contents?: true

Size: 493 Bytes

Versions: 6

Compression:

Stored size: 493 Bytes

Contents

# frozen_string_literal: true

require_relative './convertors'

module Workato
  module Connector
    module Sdk
      class Schema
        module Field
          class Object < SimpleDelegator
            include Convertors

            DEFAULT_ATTRIBUTES = {
              type: 'object'
            }.with_indifferent_access.freeze

            def initialize(field)
              super(DEFAULT_ATTRIBUTES.merge(field))
            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/field/object.rb
workato-connector-sdk-1.0.0 lib/workato/connector/sdk/schema/field/object.rb
workato-connector-sdk-0.5.0 lib/workato/connector/sdk/schema/field/object.rb
workato-connector-sdk-0.4.1 lib/workato/connector/sdk/schema/field/object.rb
workato-connector-sdk-0.4.0 lib/workato/connector/sdk/schema/field/object.rb
workato-connector-sdk-0.3.0 lib/workato/connector/sdk/schema/field/object.rb