From 4d6e2574018449d1ddfd2639747a91156bc4400c Mon Sep 17 00:00:00 2001 From: Ismael Renteria Date: Fri, 12 Oct 2018 13:40:12 -0500 Subject: [PATCH] Update README.md se cambia const document por const Document Ya que es una clase --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e4b876c..db7b7d5 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ Mifiel.Config.url = 'https://sandbox.mifiel.com/api/v1' > Either **file** or **hash** must be provided. ```javascript - const document = new Mifiel.Models.Document({ + const Document = new Mifiel.Models.Document({ file: 'path/to/my-file.pdf', signatories: [ { name: 'Signer 1', email: 'signer1@email.com', tax_id: 'AAA010101AAA' }, @@ -147,7 +147,7 @@ Mifiel.Config.url = 'https://sandbox.mifiel.com/api/v1' - Create ```javascript - const certificate = new Mifiel.Models.Certificate({ + const Certificate = new Mifiel.Models.Certificate({ file: "path/to/my-certificate.cer" }) certificate.save().then(cer => {