aboutsummaryrefslogtreecommitdiff
path: root/lib/commerce.js
diff options
context:
space:
mode:
authorLuiz Strobelt <[email protected]>2020-10-01 00:28:36 -0300
committerGitHub <[email protected]>2020-10-01 00:28:36 -0300
commit5df3678f842383855c53a4c14d39a20deb64f7cc (patch)
tree3b9fb614af27c68cfae7cdf76929069f8935ec0c /lib/commerce.js
parent27f4878ab3d989cdddec9df99802fe2150730ba2 (diff)
parent91dc8a3372426bc691be56153b33e81a16459f49 (diff)
downloadfaker-5df3678f842383855c53a4c14d39a20deb64f7cc.tar.xz
faker-5df3678f842383855c53a4c14d39a20deb64f7cc.zip
Merge pull request #1 from Marak/master
Update to latest base branch
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;
};