id and time attributes
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
1b3922c770
commit
903891e3d9
|
@ -38,6 +38,16 @@ Cloudevent.prototype.source = function(_source){
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Cloudevent.prototype.id = function(_id){
|
||||||
|
this.spec.id(_id);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
Cloudevent.prototype.time = function(_time){
|
||||||
|
this.spec.time(_time);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Export the specs
|
* Export the specs
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue