Align Call section/method field names (#2332)

This commit is contained in:
Jaco Greeff
2020-06-06 08:40:41 +02:00
committed by GitHub
parent d6372ade44
commit 8bea5e5a3b
+14
View File
@@ -194,6 +194,13 @@ export default class Call extends Struct implements IMethod {
return this.registry.findMetaCall(this.callIndex).method;
}
/**
* @description Returns the name of the method
*/
public get method (): string {
return this.methodName;
}
/**
* @description Returns the module containing the method
*/
@@ -201,6 +208,13 @@ export default class Call extends Struct implements IMethod {
return this.registry.findMetaCall(this.callIndex).section;
}
/**
* @description Returns the module containing the method
*/
public get section (): string {
return this.sectionName;
}
/**
* @description Converts the Object to to a human-friendly JSON, with additional fields, expansion and formatting of information
*/