Sha256: 8452ac7b48df9e41c07696416c0ccce6301237479d16bb4b5611b38f46735d88
Contents?: true
Size: 272 Bytes
Versions: 21
Compression:
Stored size: 272 Bytes
Contents
module Fakeit module Openapi module Example def object_example(example_options) properties.each_with_object({}) do |(name, schema), obj| obj[name] = schema.to_example(**example_options, property: name) end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
fakeit-0.3.1 | lib/fakeit/openapi/example/object_example.rb |