Last active
January 29, 2016 12:52
-
-
Save ac360/374ebd81734f973f663c to your computer and use it in GitHub Desktop.
Serverless Classes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Project | |
let Project = new ServerlessProject(path); | |
Project._path // Private properties use '_' | |
Project.data.name // Public properties at root | |
Project.data.modules.slackbot.functions.functionFolder.functionName = 'newFunction'; | |
Project.get() // Returns clone of unpopulated object | |
Project.getPopulated() // Returns clone of populated object | |
Project.save() // Persists |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment