{"size": 381, "ext": "js", "max_stars_repo_path": "addon/release-observers/file-poller.js", "max_stars_repo_name": "forge512/ember-release-notifier", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "addon/release-observers/file-poller.js", "max_issues_repo_name": "forge512/ember-release-notifier", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "addon/release-observers/file-poller.js", "max_forks_repo_name": "forge512/ember-release-notifier", "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": 31.75, "max_line_length": 100, "alphanum_fraction": 0.6902887139}
import BasePoller from './base-poller';

export default BasePoller.extend({
  filePath: '/', // optional assume it's at the root of the base_url https://example.com/version.txt
  fileName: 'version.txt',
  handleResponse(/* file */) {
    // parse the file
    // send the release data to the service
    // this.get('releaseNotifierService').compareRelease(file.version);
  }
});
