Method: HecksAdapters::SQLDatabase::Commands::Update::LinkToReferences#initialize

Defined in:
lib/commands/update/link_to_references.rb

#initialize(reference:, table:, reference_ids:, attributes:, id:) ⇒ LinkToReferences

Returns a new instance of LinkToReferences.



8
9
10
11
12
13
14
15
16
# File 'lib/commands/update/link_to_references.rb', line 8

def initialize(reference:, table:, reference_ids:, attributes:, id:)
  @reference = reference
  @reference_ids = reference_ids
  @table = table
  @attributes = attributes
  @column = Column.factory(@reference)
  @record = {}
  @id = id
end