YaleSTC/service_now — pull request #6 by mrosales (2014-12-01 02:07:33+00:00)
Title: Multi-Queries

Modified `Incident.where` to accept an array of hashes as well as just a single hash. When an array is specified, it joins all of the individual hash queries with ORs and then returns an array of incidents matching the entire query.

Also added a couple macros for incident state.
Can now use `is_closed?`, `is_resolved?` and `is_open?` on incident objects