lib/cache/repositories/impressions/memory_repository.rb in splitclient-rb-3.2.4.pre.rc4 vs lib/cache/repositories/impressions/memory_repository.rb in splitclient-rb-3.2.4.pre.rc5
- old
+ new
@@ -20,14 +20,14 @@
def add_bulk(key, bucketing_key, treatments_labels_change_numbers, time)
treatments_labels_change_numbers.each do |split_name, treatment_label_number|
add(
split_name,
- 'key_name' => key,
- 'bucketing_key' => bucketing_key,
+ 'keyName' => key,
+ 'bucketingKey' => bucketing_key,
'treatment' => treatment_label_number[:treatment],
'label' => @config.labels_enabled ? treatment_label_number[:label] : nil,
- 'change_number' => treatment_label_number[:change_number],
+ 'changeNumber' => treatment_label_number[:change_number],
'time' => time
)
end
end