Sha256: e66c2eb822ed0cc71a8916742c17e8cff2694883e95b5ae61bc722bdf2c1dad0

Contents?: true

Size: 233 Bytes

Versions: 2

Compression:

Stored size: 233 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fakeit-0.2.1 lib/fakeit/openapi/example/object_example.rb
fakeit-0.2.0 lib/fakeit/openapi/example/object_example.rb