Sha256: 9707d7e4ccba9247f3f882e6c8a1b62dbde0f663c80e3fea01bcf2d745d98428

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 Bytes

Contents

# frozen_string_literal: true

require_relative 'base_object'

module R2OAS
  module Schema
    module V3
      class ExternalDocumentObject < BaseObject
        def to_doc
          create_doc
          doc
        end

        private

        def create_doc
          result = {
            'description' => '',
            'url' => ''
          }
          doc.merge!(result)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
r2-oas-0.5.0 lib/r2-oas/schema/v3/object/from_routes/external_document_object.rb