change response from class to interface
Merge pull request #2 from DavidBadura/patch-1

change response from class to interface