class NetworkRepositoryOkHttpImpl extends AbstractRepositoryOkHttpImpl implements NetworkRepository {

  @Override
  public Observable<NetworkType> getNetworkType() {
    return exceptionHandling(
        call(getNodeRoutesApi()::getNodeInfo)
            .map(info -> NetworkType.rawValueOf(info.getNetworkIdentifier())));
  }

  public  NetworkRepositoryOkHttpImpl(ApiClient apiClient);

}