Method: PgSync::Task#initialize

Defined in:
lib/pgsync/task.rb

#initialize(source:, destination:, config:, table:, opts:) ⇒ Task

Returns a new instance of Task.



8
9
10
11
12
13
14
15
16
# File 'lib/pgsync/task.rb', line 8

def initialize(source:, destination:, config:, table:, opts:)
  @source = source
  @destination = destination
  @config = config
  @table = table
  @opts = opts
  @from_sequences = []
  @to_sequences = []
end