Sha256: 6384801dcab9adda976ceb1216f191ebf15bd1ac495153f73e17b49768cd46ea
Contents?: true
Size: 528 Bytes
Versions: 14
Compression:
Stored size: 528 Bytes
Contents
module KB class Symptom include Inspectionable include ActiveModel::Model include ActiveModel::Attributes include ActiveModel::Serializers::JSON attribute :key, :string attribute :name, :string attribute :presence, :string attribute :duration, :string attribute :frequency, :string attribute :urgency, :string attribute :article, :string, default: '' alias_attribute :information, :article def urgent return false if urgency == 'low' true end end end
Version data entries
14 entries across 14 versions & 1 rubygems