import { NgModule, ModuleWithProviders } from '@angular/core';

import { PingProtocolService } from './services/ping-protocol.service';

const SERVICES = [PingProtocolService];

@NgModule({
  declarations: [],
  imports: [],
  exports: []
})
export class UCapPingProtocolModule {
  public static forRoot(): ModuleWithProviders<UCapPingProtocolModule> {
    return {
      ngModule: UCapPingProtocolModule,
      providers: [...SERVICES]
    };
  }
}
