Welcome to mirror list, hosted at ThFree Co, Russian Federation.

PassLinkAction.js « Action « PassLink « src - git.mdns.eu/nextcloud/passwords-client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 731544d0caf3c7cfd48f7a030431c1559361468b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
export default class PassLinkAction {
    constructor(parameters) {
        this._parameters = parameters;
    }

    /**
     *
     * @return {Object}
     */
    getParameters() {
        return this._parameters;
    }

    /**
     *
     * @param {String} name
     * @return {*}
     */
    getParameter(name) {
        if(this._parameters.hasOwnProperty(name)) {
            return this._parameters[name];
        }

        return null;
    }

}