{"size": 443, "ext": "js", "max_stars_repo_path": "config/environment/utility.js", "max_stars_repo_name": "chulander/xavier", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "config/environment/utility.js", "max_issues_repo_name": "chulander/xavier", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "config/environment/utility.js", "max_forks_repo_name": "chulander/xavier", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.2608695652, "max_line_length": 57, "alphanum_fraction": 0.6704288939}
'use strict'
// fully qualified domain name
const getDomainUri = function () {
  const value = `${this.PROTOCOL}://${this.HOSTNAME}`
  return (this.PORT)
    ? `${value}:${this.PORT}`
    : value
}

const baseClass = {
  get URI () {
    return getDomainUri.call(this)
  }
}

const CreateConfig = function CreateConfig (options) {
  return Object.assign(Object.create(baseClass), options)
}
module.exports = {
  getDomainUri,
  CreateConfig
}
