Add resource key as resource to generate payment path
Change ruby version to 2.1.1 on travis