2018-05-30 17:51:40 +00:00
|
|
|
package application
|
|
|
|
|
2019-01-09 22:33:33 +00:00
|
|
|
// AcceptAllContactHandler is a pass through Contact Handler. It is currently only used by the integration test.
|
|
|
|
// TODO: DEPRECATE
|
2018-05-30 17:51:40 +00:00
|
|
|
type AcceptAllContactHandler struct{}
|
|
|
|
|
2019-01-09 22:33:33 +00:00
|
|
|
// ContactRequest returns "Pending" for everything
|
2018-05-30 17:51:40 +00:00
|
|
|
func (aach *AcceptAllContactHandler) ContactRequest(name string, message string) string {
|
|
|
|
return "Pending"
|
|
|
|
}
|
2019-01-09 22:33:33 +00:00
|
|
|
|
|
|
|
// ContactRequestRejected is a noop
|
2018-05-30 17:51:40 +00:00
|
|
|
func (aach *AcceptAllContactHandler) ContactRequestRejected() {
|
|
|
|
}
|
2019-01-09 22:33:33 +00:00
|
|
|
|
|
|
|
// ContactRequestAccepted is a noop
|
2018-05-30 17:51:40 +00:00
|
|
|
func (aach *AcceptAllContactHandler) ContactRequestAccepted() {
|
|
|
|
}
|
2019-01-09 22:33:33 +00:00
|
|
|
|
|
|
|
// ContactRequestError is a noop
|
2018-05-30 17:51:40 +00:00
|
|
|
func (aach *AcceptAllContactHandler) ContactRequestError() {
|
|
|
|
}
|