Updated names to ruby style
Adjusted agent, resource: job, snapshot;