UNPKG
taplytics-node
Version:
latest (0.1.0)
0.1.0
Taplytics Node SDK (unofficial)
github.com/nemo/taplytics-node
nemo/taplytics-node
taplytics-node
/
lib
/
push.js
14 lines
(12 loc)
•
226 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module.exports = (client) => ({ get: client.
call
({
name
:
'push.get'
,
endpoint
:
'/v2/push'
,
method
:
'GET'
, }), post: client.
call
({
name
:
'push.post'
,
endpoint
:
'/v2/push'
,
method
:
'POST'
, }) })