class OpenapiFirst::AppWithOptions

Public Class Methods

new(spec, options) click to toggle source
# File lib/openapi_first.rb, line 69
def initialize(spec, options)
  @spec = spec
  @options = options
end

Public Instance Methods

new(app) click to toggle source
# File lib/openapi_first.rb, line 74
def new(app)
  App.new(app, @spec, **@options)
end