Class: Unresponsys::MergeRule

Inherits:
Object
  • Object
show all
Defined in:
lib/unresponsys/merge_rule.rb

Instance Method Summary collapse

Instance Method Details

#to_hObject



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/unresponsys/merge_rule.rb', line 2

def to_h
  {
    insertOnNoMatch:            true,
    updateOnMatch:              'REPLACE_ALL',
    matchColumnName1:           'EMAIL_ADDRESS_',
    matchColumnName2:           nil,
    matchOperator:              nil,
    optinValue:                 'I',
    optoutValue:                'O',
    defaultPermissionStatus:    'OPTIN',
    htmlValue:                  'H',
    textValue:                  'T',
    rejectRecordIfChannelEmpty: nil,
  }
end