class R2OAS::Schema::V3::BaseObject

Public Class Methods

new(opts = {}) click to toggle source
# File lib/r2-oas/schema/v3/object/from_routes/base_object.rb, line 14
def initialize(opts = {})
  AppConfiguration::VALID_OPTIONS_KEYS.each do |key|
    send("#{key}=", app_configuration_options[key])
  end

  @opts = opts
  @plugin_executor = ::R2OAS::Plugin::Executor.new(@plugins, opts)
end

Public Instance Methods

doc() click to toggle source
# File lib/r2-oas/schema/v3/object/from_routes/base_object.rb, line 23
def doc
  @doc ||= {}
end
to_doc() click to toggle source
# File lib/r2-oas/schema/v3/object/from_routes/base_object.rb, line 27
def to_doc
  raise 'Implement Inherit Class'
end

Private Instance Methods

app_configuration_options() click to toggle source
# File lib/r2-oas/schema/v3/object/from_routes/base_object.rb, line 33
def app_configuration_options
  R2OAS.app_configuration_options
end