Sha256: 6396b38c6ca254b6c62b018a822a8d0d2df352c6b640b0baad4ea8156df03560

Contents?: true

Size: 413 Bytes

Versions: 3

Compression:

Stored size: 413 Bytes

Contents

# frozen_string_literal: true

require_relative 'base_object'

module R2OAS
  module Schema
    module V3
      module FromFiles
        class InfoObject < BaseObject
          def initialize(doc, opts = {})
            super(opts)
            @doc = doc
          end

          def to_doc
            execute_transform_plugins(:info, @doc)
            @doc
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
r2-oas-0.5.0 lib/r2-oas/schema/v3/object/from_files/info_object.rb
r2-oas-0.4.1 lib/r2-oas/schema/v3/object/from_files/info_object.rb
r2-oas-0.4.0 lib/r2-oas/schema/v3/object/from_files/info_object.rb