class ProjectConfig
- ProjectConfig
- Reference
- Object
Overview
The ProjectConfig
class represents the configuration for a project.
A project is a collection of events that trigger deployments and are run on a schedule.
It includes properties for the project's name, type, location, path, and events.
Included Modules
- YAML::Serializable
Defined in:
runway/models/config.crConstructors
Instance Method Summary
- #deployment : DeploymentConfig
- #deployment=(deployment : DeploymentConfig)
-
#events : Array(Event)
@return [Array(Event)] The array of events for the project.
-
#events=(events : Array(Event))
@return [Array(Event)] The array of events for the project.
-
#name : String
@return [String] The name of the project.
-
#name=(name : String)
@return [String] The name of the project.
-
#uuid : String | Nil
@return [String, nil] The UUID for the project, or
nil
if not specified. -
#uuid=(uuid : String | Nil)
@return [String, nil] The UUID for the project, or
nil
if not specified.
Constructor Detail
Instance Method Detail
@return [Array(Event)] The array of events for the project.
@return [Array(Event)] The array of events for the project.
@return [String, nil] The UUID for the project, or nil
if not specified.
The application will generate a UUID for the event if one is not provided.
@return [String, nil] The UUID for the project, or nil
if not specified.
The application will generate a UUID for the event if one is not provided.