12 lines
211 B
Ruby
Raw Normal View History

2019-11-29 09:01:56 +11:00
# frozen_string_literal: true
2019-12-04 11:23:45 +11:00
module DiscourseSubscriptions
2019-11-29 09:01:56 +11:00
module Group
extend ActiveSupport::Concern
def plan_group(plan)
::Group.find_by_name(plan[:metadata][:group_name])
end
end
end