fix exception if response is not successful

updade get_resource method
Merge pull request #13 from Thinkei/ft/add-employing-entity-class

add employing entity key pay resource
Merge pull request #12 from Thinkei/bug/employee-not-successfull-response

fix exception if response is not successful