FeedbacksAPI
public enum FeedbacksAPI
Caseless enumeration with static methods to send Feedback Requests
-
Sends a request to submit a feedback by parameters.
Declaration
Swift
public static func submitFeedback(with parameters: Parameters? = nil, completion: ResponseCompletion<Bool> = nil)Parameters
parametersThe
Parametersto apply.completionThe closure to be executed once the request has finished.
-
Sends a request to submit a feedback by parameters.
Declaration
Swift
public static func sendFeedback(subject: String, body: String, completion: ResponseCompletion<Bool> = nil)Parameters
subjectThe subject of the feedback.
bodyThe body of the feedback.
parametersThe
Parametersto apply.completionThe closure to be executed once the request has finished.
-
Sends a request to get a feedback categories.
Declaration
Swift
public static func getFeedbackCategories(completion: ResponseCompletion<[String : FeedbackCategory]> = nil)Parameters
completionThe closure to be executed once the request has finished.
-
Sends a request to get the content of the feedback.
Declaration
Swift
public static func getFeedbackContent(completion: ResponseCompletion<StaticFile> = nil)Parameters
completionThe closure to be executed once the request has finished.
View on GitHub
FeedbacksAPI Enumeration Reference