This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# | |
# Example Ruby CLI script to retrieve worker data from Workday | |
# Call on command line with worker id; prints worker name | |
# add "request" or "response" after worker id and prints the | |
# outgoing xml or received hash and exits. | |
# | |
# Using Savon version 2 for the SOAP client (2.11.2) | |
# | |
# Savon defaults to making the message tag the same as the operation name |