Class: R2OAS::Base

Inherits:
Object show all
Defined in:
lib/r2-oas/base.rb

Direct Known Subclasses

Plugin::Base, Routing::Base, Schema::Base, Schema::UI

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Base

Returns a new instance of Base.



5
6
7
8
9
10
11
# File 'lib/r2-oas/base.rb', line 5

def initialize(options = {})
  @options = options

  (AppConfiguration::VALID_OPTIONS_KEYS + options.keys).each do |key|
    send("#{key}=", merged_options[key])
  end
end