class AmberCLI::Native::CapabilityManifest::NotificationsCapability

Included Modules

Defined in:

amber_cli/native/capability_manifest.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(enabled : Bool = true, categories : Array(NotificationCategorySpec) = [] of NotificationCategorySpec) #

[View source]
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def categories : Array(NotificationCategorySpec) #

[View source]
def categories=(categories : Array(NotificationCategorySpec)) #

[View source]
def enabled : Bool #

[View source]
def enabled=(enabled : Bool) #

[View source]
def validate! : self #

[View source]