I suspect there is a way to use Ruby to simulate a DC being interacted with using the Interact Tool, if that is what you are after.
However I’d recommend against building around DCs as it is a quite low quality and outdated plugin, without a public API. It is much because people insist on building their own Ruby project around DCs that DCs cannot be properly refactored and updated by Trimble if I’ve understood right.