Specversion placebo
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
99310d1920
commit
7024876e49
|
@ -43,6 +43,10 @@ Cloudevent.prototype.getType = function() {
|
|||
return this.spec.getType();
|
||||
};
|
||||
|
||||
Cloudevent.prototype.specversion = function(version) {
|
||||
return this.spec.specversion(version);
|
||||
};
|
||||
|
||||
Cloudevent.prototype.getSpecversion = function() {
|
||||
return this.spec.getSpecversion();
|
||||
};
|
||||
|
|
|
@ -53,6 +53,11 @@ Spec02.prototype.getType = function(){
|
|||
return this.payload["type"];
|
||||
};
|
||||
|
||||
Spec02.prototype.specversion = function(_specversion){
|
||||
// does not set! This is right
|
||||
return this;
|
||||
};
|
||||
|
||||
Spec02.prototype.getSpecversion = function() {
|
||||
return this.payload["specversion"];
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue