aboutsummaryrefslogtreecommitdiff
path: root/lib/commerce.js
diff options
context:
space:
mode:
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;
};