Sha256: aa592c3227cd1964f34b4280945299ec0992c0364e5d64dba3828ee21a7b263c

Contents?: true

Size: 372 Bytes

Versions: 5

Compression:

Stored size: 372 Bytes

Contents

import Schlepp from 'schlepp';

import appConstants from 'app_constants';
import sessionMethods from 'api/sessions';

class Api extends Schlepp {
  constructor(options) {
    super(options);

    this.sessions = sessionMethods(this);
  }
}

export default new Api({
  host: appConstants.API_HOST,
  bearerTokenKeyInLocalStorage: `${appConstants.APP_NAME}:auth_token`,
});

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gnarails-1.0.0 templates/react/js/api/index.js
gnarails-0.9.3 templates/react/js/api/index.js
gnarails-0.9.2 templates/react/js/api/index.js
gnarails-0.9.1 templates/react/js/api/index.js
gnarails-0.9.0 templates/react/js/api/index.js