Ruby / Rails implementation for DPD API