Skip to content

Commit 07076ee

Browse files
committed
break up temporaldata example
1 parent bb7ea34 commit 07076ee

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

documentation/snippets/temporal.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,4 @@
55
> var response = Breinify.temporalData({
66
> 'ipAddress': '74.115.209.58'
77
> }, withSecret);
8-
>
9-
> // Example with IP address, timezone and localdata time
10-
> var response = Breinify.temporalData({
11-
> 'ipAddress': '74.115.209.58',
12-
> 'localDateTime': 'Wed Oct 26 2016 13:02:06 GMT-0700 (EDT)',
13-
> 'timezone': 'America/New_York'
14-
> }, withSecret);
158
> ```
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
> ```javascript
2+
> var withSecret = false;
3+
>
4+
> // Example with full user data
5+
> var response = Breinify.temporalData({
6+
> 'ipAddress': '74.115.209.58',
7+
> 'localDateTime': 'Wed Oct 26 2016 13:02:06 GMT-0700 (EDT)',
8+
> 'timezone': 'America/New_York'
9+
> }, withSecret);
10+
> ```

0 commit comments

Comments
 (0)