Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def self.create_from_ticket
- raise NotImplementedError, "Falta implementar la función create_from_ticket para este tipo de ci"
- end
- def self.types
- Conf.active_ci.keys.sort.map {|ci| ci.constantize}
- end
- def self.get_ci_type_attributes(ci_type)
- ci_type.column_names.sort
- end
- def self.get_all_ci_types_attributes
- types.inject([]){ |attrs, ci_type|
- attrs += get_ci_type_attributes(ci_type)
- }.sort.uniq
- end
- def self.uid_letter
- ''
- end
Add Comment
Please, Sign In to add comment