Skip to content

Commit 003ad10

Browse files
committed
chore: naming functions
1 parent 04d289b commit 003ad10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Services/cayenne.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ class Cayenne extends Request {
545545
* @param {string} deviceTypeId
546546
* @param {string} id
547547
*/
548-
getDeviceTypeOneMeta(deviceTypeId, id) {
548+
getOneDeviceTypeMeta(deviceTypeId, id) {
549549
const path = `/things/types/${deviceTypeId}/meta/${id}`;
550550
return this.send('GET', path);
551551
}
@@ -590,7 +590,7 @@ class Cayenne extends Request {
590590
* Gets a device's channel meta by device type id
591591
* @param {string} deviceTypeId
592592
*/
593-
getDeviceTypeOneChannel(deviceTypeId, id) {
593+
getDeviceTypeChannel(deviceTypeId, id) {
594594
const path = `/things/types/${deviceTypeId}/channels/${id}`;
595595
return this.send('GET', path);
596596
}
@@ -608,7 +608,7 @@ class Cayenne extends Request {
608608
* Gets a device's uses by device type id
609609
* @param {string} deviceTypeId
610610
*/
611-
getDeviceTypeOneUse(deviceTypeId, id) {
611+
getDeviceTypeUse(deviceTypeId, id) {
612612
const path = `/things/types/${deviceTypeId}/uses/${id}`;
613613
return this.send('GET', path);
614614
}

0 commit comments

Comments
 (0)