Module: OasContrib::Interface::Spec

Included in:
OpenAPI::Base
Defined in:
lib/oas_contrib/interface/spec.rb

Overview

Interface of Spec class

Instance Method Summary collapse

Instance Method Details

#mappingnil

Mapping the hash to the spec object.

Returns:

  • (nil)

Raises:

  • (NotImplementedError)


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

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