This addon is made to work with pca-predict which is a service that provides useful things like address, email, and password verification as well as other data services.
This addon provides a way to initialize the pca predict global in a way that is easy and fastboot compatible.
In the parent application's config/environment.js
you can specify:
'ember-pca-predict': {
enabled: true, //this is true by default false prevents the initialization of the pca global
accountCode: '<account code>', // pca predict account code
host: '<host>' // pca predict url for host
},
ember install ember-pca-predict
npm test
(Runsember try:each
to test your addon against multiple Ember versions)