0.1.2 • Published 7 years ago

ember-pt-config v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

Ember-pt-config

This add-on provides:

  • Pitchtarget authenticator for ember-simple-auth
  • ptApi service to do authenticated API call to the Pitchtarget APIs

The ptApi service is injected on every route by an initializer. This service depends on a session service to be available: at the moment this must be a service following the ember-simple-auth session service interface.

Installation

  • Add to your package.json "ember-pt-config": "https://bugant@bitbucket.org/pitchtarget/ember-pt-config.git"
  • npm install

Configuration

The ptApi service needs to know the API base URL and the client ID. These have to be defined in your app's configuration file (config/environment.js):

  ptApi: {
    baseUrl: 'https://my-api.com'
    clientId: 'bha8719IHDEW78'
  }

Contributing

Development install

  • git clone this repository
  • npm install

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.

0.1.2

7 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago