aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/facebook/retro/IFrost.kt
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/facebook/retro/IFrost.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/facebook/retro/IFrost.kt16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/facebook/retro/IFrost.kt b/app/src/main/kotlin/com/pitchedapps/frost/facebook/retro/IFrost.kt
new file mode 100644
index 00000000..6c50fa74
--- /dev/null
+++ b/app/src/main/kotlin/com/pitchedapps/frost/facebook/retro/IFrost.kt
@@ -0,0 +1,16 @@
+package com.pitchedapps.frost.facebook.retro
+
+import com.pitchedapps.frost.facebook.token
+import retrofit2.Call
+import retrofit2.http.GET
+import retrofit2.http.Query
+
+/**
+ * Created by Allan Wang on 2017-05-30.
+ */
+interface IFrost {
+
+ @GET("me")
+ fun me(@Query(ACCESS_TOKEN) accessToken: String? = token): Call<Me>
+
+} \ No newline at end of file