start implementation of sslDir and gitOrigin

This commit is contained in:
Philipp Kunz 2016-06-22 13:55:38 +02:00
parent 732e35d295
commit 0fd3bd262b
3 changed files with 12 additions and 3 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ docs/
coverage/ coverage/
.nogit/ .nogit/
dist/assets/ dist/assets/
test/assets/

View File

@ -20,7 +20,7 @@ describe("cert",function(){
}) })
}) })
describe("Cert",function(){ describe("Cert",function(){
it("should create a new cert",function(){ it("should create a new Cert object from class",function(){
testCert = new cert.Cert({ testCert = new cert.Cert({
cfEmail: process.env.CF_EMAIL, cfEmail: process.env.CF_EMAIL,
cfKey: process.env.CF_KEY, cfKey: process.env.CF_KEY,

View File

@ -34,7 +34,7 @@ export class Cert {
}; };
} }
export class Certificate { class Certificate {
domainName:string; domainName:string;
creationDate:Date; creationDate:Date;
expiryDate:Date; expiryDate:Date;
@ -42,3 +42,11 @@ export class Certificate {
}; };
} }
let updateSslDir = () => {
}
let updateGitOrigin = () => {
}