Module: OpenAPIParser::Findable

Defined in:
lib/fakeit/core_extensions/findable.rb

Instance Method Summary collapse

Instance Method Details

#purge_object_cacheObject



3
4
5
6
7
8
9
10
# File 'lib/fakeit/core_extensions/findable.rb', line 3

def purge_object_cache
  return if @purged

  @find_object_cache = {}
  @purged = true

  _openapi_all_child_objects.values.each(&:purge_object_cache)
end