app/models/schema_version.rb
# Calculate an array of attributes that will be turned
# into associated {SchemaVersionProperty} records.
#
# @api private
# @see Schemas::Versions::ExtractProperties
# @see Schemas::Versions::Configuration#to_version_properties
# @return [<Hash>]
Calculate an array of attributes that will be turned
into associated {SchemaVersionProperty} records.
Calculate an array of attributes that will be turned into associated { SchemaVersionProperty } records .
def to_version_properties
    shared_attributes = slice(:schema_definition_id).merge(schema_version_id: id)
    configuration.to_version_properties.map do |attributes|
      attributes.merge(shared_attributes)
    end
  end
def to_version_properties shared_attributes = slice ( :schema_definition_id ) . merge ( schema_version_id : id ) configuration . to_version_properties . map do | attributes | attributes . merge ( shared_attributes ) end end
Calculate an array of attributes that will be turned
into associated {SchemaVersionProperty} records.
Calculate an array of attributes that will be turned into associated { SchemaVersionProperty } records .
None
<Hash>
api
None
see
None
see
None