localmed/api-mock — pull request #12 by enykeev (2014-06-05 08:42:08+00:00)
Title: Fix contexts in api-mock

There is several issues within api-mock related to contexts function executed in:
- first in ApiMock constructor where we trying to access `configuration` variable we haven't defined (instead we should use `@configuration`)
- second one is in `protagonist.parse` callback where our ApiMock context is replaced by Protagonist one so we need to use "fat" arrow instead of "thin" to keep the original context