class
AmberCLI::Native::CapabilityManifest::NotificationsCapability
Included Modules
- YAML::Serializable
- YAML::Serializable::Strict
Defined in:
amber_cli/native/capability_manifest.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(enabled : Bool = true, categories : Array(NotificationCategorySpec) = [] of NotificationCategorySpec)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Instance Method Summary
- #categories : Array(NotificationCategorySpec)
- #categories=(categories : Array(NotificationCategorySpec))
- #enabled : Bool
- #enabled=(enabled : Bool)
- #validate! : self
Constructor Detail
def self.new(enabled : Bool = true, categories : Array(NotificationCategorySpec) = [] of NotificationCategorySpec)
#
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
#