コード例 #1
0
 public static EdmodoRequestGenerating fromApiKeyAccessToken(String apiKey, String accessToken) {
   EdmodoRequestGenerating generator = new EdmodoRequestGenerating();
   generator.api_key = apiKey;
   generator.access_token = accessToken;
   return generator;
 }
コード例 #2
0
  public static EdmodoRequestGenerating fromApiKey(String apiKey) {
    EdmodoRequestGenerating generator = new EdmodoRequestGenerating();
    generator.api_key = apiKey;

    return generator;
  }
コード例 #3
0
 public static EdmodoRequestGenerating fromAppIdAccessToken(String appId, String accessToken) {
   EdmodoRequestGenerating generator = new EdmodoRequestGenerating();
   generator.api_key = ApplicationSettings.getAppApiKey(appId);
   generator.access_token = accessToken;
   return generator;
 }