Sha256: d256ae52ac1ebf4bfcca3301b8e3ab8c777677daff551a4256602e4adc3fbf80
Contents?: true
Size: 567 Bytes
Versions: 18
Compression:
Stored size: 567 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/events" require "document/base" require "document/embedded" require "document/enum" module Renalware module Events class AdvancedCarePlan < Events::Event include Document::Base class Document < Document::Embedded attribute :state, ::Document::Enum # See i18n for options validates :state, presence: true end has_document def partial_for(partial_type) File.join("renalware/events/advanced_care_plans", partial_type) end end end end
Version data entries
18 entries across 18 versions & 1 rubygems