Add support for customizable resourceName with default as 'user', so that custom devise resource_name can be configured via AuthProvider.resourceName(value).
Add support for customizable resourceName with default as 'user', so that custom devise resource_name can be configured via AuthProvider.resourceName(value).
Revision based on pull request comments and such:
Reverted lib changes;
Refactored resourceName in payload data to httpConfig();
Corrected return value of resourceName();
Added unit tests for resourceName configuration and .login, .register actions under various resourceName scenarios.
Allow falsey resourceNames
Revamp resourceName specs
Merge remote-tracking branch 'origin/resource_name'

Closes #20.
Fix incorrect comment
Add `.resourceName` docs
Bump version to 0.6.0