trabajo-afectivo/app/models/object_manager.rb

30 lines
428 B
Ruby
Raw Normal View History

# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
2014-09-09 23:42:20 +00:00
class ObjectManager
=begin
2014-11-06 23:37:05 +00:00
list all backend managed object
2014-09-09 23:42:20 +00:00
2016-05-19 08:20:38 +00:00
ObjectManager.list_objects
2014-09-09 23:42:20 +00:00
=end
def self.list_objects
2017-11-23 08:09:44 +00:00
%w[Ticket TicketArticle User Organization Group]
2014-11-06 23:37:05 +00:00
end
=begin
list all frontend managed object
2016-05-19 08:20:38 +00:00
ObjectManager.list_frontend_objects
2014-11-06 23:37:05 +00:00
=end
def self.list_frontend_objects
2017-11-23 08:09:44 +00:00
%w[Ticket User Organization Group]
2015-01-04 12:49:04 +00:00
end
end