Sha256: 3c3a1a1a70e3910ef417b262b092ee4c32b91278fa25dfd61468af23c98ca264
Contents?: true
Size: 318 Bytes
Versions: 19
Compression:
Stored size: 318 Bytes
Contents
class OTRS::ConfigItem::DeploymentState def self.states items = OTRS::GeneralCatalog.item_list_fast('ITSM::ConfigItem::DeploymentState') end def self.all self.states end self.all.each do |key,value| define_singleton_method value.downcase.underscore do return key end end end
Version data entries
19 entries across 19 versions & 1 rubygems