forked from grishka/Houseclub
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
153 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
Houseclub/src/main/java/me/grishka/houseclub/api/methods/UpdateInstagram.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package me.grishka.houseclub.api.methods; | ||
|
||
import me.grishka.houseclub.api.BaseResponse; | ||
import me.grishka.houseclub.api.ClubhouseAPIRequest; | ||
|
||
public class UpdateInstagram extends ClubhouseAPIRequest<BaseResponse> { | ||
public static String REDIRECT_INSTAGRAM_URL = "https://www.joinclubhouse.com/callback/instagram"; | ||
public UpdateInstagram(String code) { | ||
super("POST", "update_instagram_username", BaseResponse.class); | ||
requestBody = new Body(code); | ||
} | ||
|
||
private static class Body{ | ||
public String code; | ||
Body(String code){ | ||
this.code = code; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters