File: environment-variables.coffee

Defined in: lib/resin/models

Method Summary

Method Details

~ (void) getAllByApplication(applicationId, callback)

Get all environment variables by application

resin.models.environmentVariables.getAll (error, environmentVariables) ->    throw error if error?    console.log(environmentVariables)

Parameters:

  • applicationId ( String, Number ) application id
  • callback ( Function ) callback(error, environmentVariables)

Throws:

  • ( NotFound ) — Will throw if no environment variable was found

~ (void) remove(id, callback)

Remove environment variable

resin.models.environmentVariables.remove 51, (error) ->    throw error if error?

Parameters:

  • id ( String, Number ) environment variable id
  • callback ( Function ) callback(error)

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: