Sha256: ab1e127b7ceca99191e77136c86ba99749099981ba312d65c7be83ef7eb66604
Contents?: true
Size: 405 Bytes
Versions: 11
Compression:
Stored size: 405 Bytes
Contents
module NotificationHandler class Group attr_accessor :name attr_accessor :target_scope def initialize name, target_scope @name = name @target_scope = target_scope end def self.find_by_name name NotificationHandler.configuration.groups.select { |group| group.name == name.to_sym } end end end
Version data entries
11 entries across 11 versions & 1 rubygems