Class: OpenapiContracts::Parser::Transformers::Base

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

Direct Known Subclasses

Pointer

Instance Method Summary collapse

Constructor Details

#initialize(parser, cwd, pointer) ⇒ Base

Returns a new instance of Base.



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

def initialize(parser, cwd, pointer)
  @parser = parser
  @cwd = cwd
  @pointer = pointer
end

Instance Method Details

#callObject

:nocov:

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/openapi_contracts/parser/transformers/base.rb', line 10

def call
  raise NotImplementedError
end