Module: OasContrib::Interface::Resolver

Included in:
Resolver::Base
Defined in:
lib/oas_contrib/interface/resolver.rb

Overview

Interface of Resolver class

Instance Method Summary collapse

Instance Method Details

#distributenil

Distribute the command artifacts.

Returns:

  • (nil)

Raises:

  • (NotImplementedError)


25
26
27
# File 'lib/oas_contrib/interface/resolver.rb', line 25

def distribute
  raise NotImplementedError, 'You must be implement"dist" method.'
end

#loadnil

Load and parse the input file.

Returns:

  • (nil)

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/oas_contrib/interface/resolver.rb', line 13

def load
  raise NotImplementedError, 'You must be implement "load" method.'
end

#resolvenil

Judge and generate OpenAPI specification object.

Returns:

  • (nil)

Raises:

  • (NotImplementedError)


19
20
21
# File 'lib/oas_contrib/interface/resolver.rb', line 19

def resolve
  raise NotImplementedError, 'You must be implement "resolve" method.'
end

#setupnil

Setup the resolver object.

Returns:

  • (nil)

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/oas_contrib/interface/resolver.rb', line 7

def setup
  raise NotImplementedError, 'You must be implement "setup" method.'
end