zazoomauro/node-dependency-injection

View on GitHub
bin/Services/File/JsonAdapter.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import BaseAdapter from './BaseAdapter'

export default class JsonAdapter extends BaseAdapter {
  /**
   * @return {string}
   */
  static get FORMAT () {
    return 'json'
  }

  /**
   * @return {string}
   */
  get defaultConfiguration () {
    return JSON.stringify(super.defaultConfiguration, null, 2)
  }
}