lib/fakeit/openapi/example/object_example.rb in fakeit-0.1.5 vs lib/fakeit/openapi/example/object_example.rb in fakeit-0.2.0

- old
+ new

@@ -1,9 +1,9 @@ module Fakeit module Openapi module Example - def object_example(use_example) - properties.each_with_object({}) { |(name, schema), obj| obj[name] = schema.to_example(use_example) } + def object_example(example_options) + properties.each_with_object({}) { |(name, schema), obj| obj[name] = schema.to_example(example_options) } end end end end