Class: OpenapiContracts::Parser::Transformers::Pointer

Inherits:
Base
  • Object
show all
Defined in:
lib/openapi_contracts/parser/transformers/pointer.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from OpenapiContracts::Parser::Transformers::Base

Instance Method Details

#call(object) ⇒ Object



3
4
5
6
# File 'lib/openapi_contracts/parser/transformers/pointer.rb', line 3

def call(object)
  transform_discriminator(object)
  transform_refs(object)
end