aboutsummaryrefslogtreecommitdiff
path: root/lib/commerce.js
diff options
context:
space:
mode:
authorMarak <[email protected]>2021-02-11 01:24:16 -0500
committerGitHub <[email protected]>2021-02-11 01:24:16 -0500
commit9c8b3249ffa8412d305bea0522d5754f88f000ae (patch)
tree665bb0c281ea8a170e5c8da414aed1b80e75d86b /lib/commerce.js
parent00f18703af6bf46b0435f4cc9ed1838054a79c1c (diff)
parent388b6cd8513b3b73daab5278e539f8f6bb600e12 (diff)
downloadfaker-9c8b3249ffa8412d305bea0522d5754f88f000ae.tar.xz
faker-9c8b3249ffa8412d305bea0522d5754f88f000ae.zip
Merge branch 'master' into master
Diffstat (limited to 'lib/commerce.js')
-rw-r--r--lib/commerce.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/commerce.js b/lib/commerce.js
index 79316256..6de8ffb9 100644
--- a/lib/commerce.js
+++ b/lib/commerce.js
@@ -113,6 +113,15 @@ var Commerce = function (faker) {
return faker.random.arrayElement(faker.definitions.commerce.product_name.product);
};
+ /**
+ * productDescription
+ *
+ * @method faker.commerce.productDescription
+ */
+ self.productDescription = function() {
+ return faker.random.arrayElement(faker.definitions.commerce.product_description);
+ };
+
return self;
};