Untitled
unknown
ruby
a year ago
403 B
11
Indexable
current_config= WarehouseService.configuration.get("app.b2b.imei_enabled_warehouses")
warehouse_to_remove = "blr_wfld"
updated_config=current_config-[warehouse_to_remove]
puts updated_config
WarehouseService.configuration.update("app.b2b.imei_enabled_warehouses", updated_config, Time.now, nil, nil)
c = WarehouseService.configuration.get("app.b2b.imei_enabled_warehouses")
puts c == updated_configEditor is loading...
Leave a Comment