Home Manual Reference Source Test Repository

src/entities/DeviceFinder.js

'use strict';

import EntityFinder from './EntityFinder';

/**
 *   This class allow make get request to device provisioned resource into Opengate North API.
 */
export default class DeviceFinder extends EntityFinder {

    /**
     * Constructor
     * @param {InternalOpenGateAPI} Reference to the API object.
     */
    constructor(ogapi) {
        super(ogapi, 'device', 'Device not found');
    }
}