Skip to content

Commit

Permalink
Merge pull request #170 from partik03/oracle_dummy_class
Browse files Browse the repository at this point in the history
Oracle dummy class
  • Loading branch information
mbcse committed Aug 25, 2023
2 parents c859719 + f0c7c26 commit b358ba1
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions generator/dummyClasses/oracle.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
class ClassName {
/**
*
* @param {module} do Oracle SDK
* @param {object} options SDK options
*/
constructor(ocisdk, params, clientConfiguration) {
this._oci = ocisdk;
this._sdkclassName = this._oci.SDKClassName(
params,
clientConfiguration
);
}

function() {
return new Promise((resolve, reject) => {
this._sdkClassName
.SDKFunctionName()
.then(data => resolve(data))
.catch(err => reject(err));
});
}
}

module.exports = ClassName;

0 comments on commit b358ba1

Please sign in to comment.