class OpenAPIParser::Schemas::Base

Attributes

object_reference[R]
parent[R]
raw_schema[R]
root[R]

Public Class Methods

new(object_reference, parent, root, raw_schema) click to toggle source

@param [OpenAPIParser::Schemas::Base]

# File lib/openapi_parser/schemas/base.rb, line 10
def initialize(object_reference, parent, root, raw_schema)
  @raw_schema = raw_schema
  @parent = parent
  @root = root
  @object_reference = object_reference

  load_data
  after_init
end

Public Instance Methods

after_init() click to toggle source

override

# File lib/openapi_parser/schemas/base.rb, line 21
def after_init
end
inspect() click to toggle source
# File lib/openapi_parser/schemas/base.rb, line 24
def inspect
  @object_reference
end