Passed
Push — main ( 14c5ed...27af40 )
by Acho
02:02
created

internal/stubs/sms.go   A

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
dl 0
loc 5
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A stubs.SmsSendSingle 0 2 1
1
package stubs
2
3
// SmsSendSingle is a dummy json response for the `/api/airtime/v2/` endpoint with an error
4
func SmsSendSingle() []byte {
5
	return []byte(`
6
		{
7
			"message": "Message is queued for sending! Please check report for update",
8
			"success": true,
9
			"message_id": "11ec-832f-a6f3fcfe-9fea-02420a0002ab"
10
		}
11
`)
12
}
13