package com.fastaccess.data.service;

import com.fastaccess.data.dao.SlackInvitePostModel;
import com.fastaccess.data.dao.SlackResponseModel;

import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by Kosh on 01 May 2017, 1:04 AM
 */

public interface SlackService {

    @POST("FastHubSlackInvite")
    @Headers("X-API-Key: MvFQyrJ9703DYmKHvk13I3agw3AdH8vh1lKbKGx4")
    Observable<SlackResponseModel> invite(@Body SlackInvitePostModel body);
}
