blob: 24ecaa0b52fb1273373fd883e3aea9515c12241d (
plain)
1
2
3
4
5
6
7
8
9
|
module ClusterApplications
extend ActiveSupport::Concern
included do
def find_application(app_name, id, &blk)
Clusters::Cluster::APPLICATIONS[app_name].find(id).try(&blk)
end
end
end
|