init (params = {}) {
    return this.defaults(params).then(defaults => {
      this.fields = defaults['fields']
      this.body = defaults['body']

      return Promise.resolve(this)
    })
  }
/**
   * Initialize this collection item
   * Load fields and content and save to itself
   *
   * @param {Object} [params] - Additional params (sent to github)
   * @returns {Promise<CollectionItem>} - Returns promise with itself
   */
Initialize this collection item
Load fields and content and save to itself

@param {Object} [params] - Additional params (sent to github)
@returns {Promise} - Returns promise with itself
Initialize this collection item Load fields and content and save to itself @param { Object } [ params ] - Additional params ( sent to github ) @returns { Promise } - Returns promise with itself
init (params = {}) {
    return this.defaults(params).then(defaults => {
      this.fields = defaults['fields']
      this.body = defaults['body']
      return Promise.resolve(this)
    })
  }
init ( params = { } ) { return this . defaults ( params ) . then ( defaults => { this . fields = defaults [ 'fields' ] this . body = defaults [ 'body' ] return Promise . resolve ( this ) } ) }
Initialize this collection item
 Load fields and content and save to itself
Initialize this collection item Load fields and content and save to itself