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

3
.gitignore vendored
View File

@ -2,4 +2,5 @@ node_modules
docs/
coverage/
.nogit/
dist/assets/
dist/assets/
test/assets/

View File

@ -20,7 +20,7 @@ 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({
cfEmail: process.env.CF_EMAIL,
cfKey: process.env.CF_KEY,

View File

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