Simplify Resource (only used for tests)

Keep it cool with some good ol’ Ruby 1.9.3 syntax.