package com.sinyuk.yuk.api;

import retrofit2.adapter.rxjava.Result;
import rx.functions.Func1;

public final class Results {
  private static final Func1<Result<?>, Boolean> SUCCESSFUL =
          result -> !result.isError() && result.response().isSuccessful();

  public static Func1<Result<?>, Boolean> isSuccessful() {
    return SUCCESSFUL;
  }

  private Results() {
    throw new AssertionError("No instances.");
  }
}

@@ -90,16 +90,35 @@
 Func1;%0A%0A
+/**%0A * %E7%BD%91%E7%BB%9C%E8%AF%B7%E6%B1%82%E7%9A%84%E7%BB%93%E6%9E%9C%0A */%0A
 public f

Add Results call to check the request