Sha256: 34eb634dab1b56ea8921d3f6440eaa7b875faffad25dd7b6429a623ab9a24ebf

Contents?: true

Size: 400 Bytes

Versions: 3

Compression:

Stored size: 400 Bytes

Contents

# frozen_string_literal: true

require_relative 'visitable'
require 'r2-oas/plugin/base'

module R2OAS
  module Plugin
    module V3
      class Transform < ::R2OAS::Plugin::Base
        extend Visitable

        def self.inherited(base)
          super
          self.hook_klass = ::R2OAS::Hooks::Hook.register(:plugin, base)
          base.type = :transform
        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/plugin/transform/v3/transform.rb
r2-oas-0.4.1 lib/r2-oas/plugin/transform/v3/transform.rb
r2-oas-0.4.0 lib/r2-oas/plugin/transform/v3/transform.rb