diff options
| author | Cliff Pyles <[email protected]> | 2015-12-12 21:07:13 -0500 |
|---|---|---|
| committer | Marak <[email protected]> | 2016-02-08 16:50:52 +0530 |
| commit | 79f54d9f9cb685dba00ee188676fda0574e56cb9 (patch) | |
| tree | 60fd9f7fd2afa28901fa18dd6cb9021bcff5d4f9 /lib | |
| parent | 28f32384574ee2752cd5cc280e44a9df4cf1a4f0 (diff) | |
| download | faker-79f54d9f9cb685dba00ee188676fda0574e56cb9.tar.xz faker-79f54d9f9cb685dba00ee188676fda0574e56cb9.zip | |
adding schema for internet.ip
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/internet.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/internet.js b/lib/internet.js index 563bf2f4..52eb8f5a 100644 --- a/lib/internet.js +++ b/lib/internet.js @@ -139,6 +139,11 @@ var Internet = function (faker) { return result.join("."); }; + self.ip.schema = { + "description": "Generates a random IP.", + "sampleResult": "97.238.241.11" + }; + self.userAgent = function () { return random_ua.generate(); }; |
