class AvalancheMQ::Policy

Included Modules

Defined in:

avalanchemq/policy.cr

Constructors

Instance Method Summary

Instance methods inherited from module AvalancheMQ::SortableJSON

details_tuple details_tuple, to_json(json : JSON::Builder) to_json

Constructor Detail

def self.new(name : String, vhost : String, pattern : Regex, apply_to : Target, definition : Hash(String, JSON::Any), priority : Int8) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def apply_to : Target #

[View source]
def definition : Hash(String, JSON::Any) #

[View source]
def details_tuple #

[View source]
def match?(resource : Queue | Exchange) #

[View source]
def name : String #

[View source]
def pattern : Regex #

[View source]
def priority : Int8 #

[View source]
def vhost : String #

[View source]