class EnvironmentResourceImpl implements EnvironmentResource {

    @Override
    public Environment get() {
        return new Environment(latestApiVersion, version, commit, time,
                configuration.getChangeLastUpdatedAtStartup() ? findLastUpdated() : service.findLastUpdated());
    }

}