Sha256: 2c0017187f86ee8d31426e4d3947ca593cb25789878f0391fad800335dc6e723

Contents?: true

Size: 225 Bytes

Versions: 4

Compression:

Stored size: 225 Bytes

Contents

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) }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fakeit-0.1.5 lib/fakeit/openapi/example/object_example.rb
fakeit-0.1.4 lib/fakeit/openapi/example/object_example.rb
fakeit-0.1.3 lib/fakeit/openapi/example/object_example.rb
fakeit-0.1.2 lib/fakeit/openapi/example/object_example.rb