fixes #3499 - uninitialized constant ResourceInstance
Merge pull request #36 from tstrachota/resource_instance_fix

fixes #3499 - uninitialized constant ResourceInstance