Sha256: d7bc4d7a900b8c4a57f7e99ab1ba79351b4f23ba434cc70e5cf4b2cf291ec97d

Contents?: true

Size: 443 Bytes

Versions: 4

Compression:

Stored size: 443 Bytes

Contents

require_dependency "renalware"
require_dependency "renalware/feeds"
require "subscription_registry"

module Renalware
  module Pathology
    module_function

    def table_name_prefix
      "pathology_"
    end

    def self.cast_patient(patient)
      ActiveType.cast(patient, ::Renalware::Pathology::Patient)
    end

    def configure
      SubscriptionRegistry.instance.register(Feeds::MessageProcessor, MessageListener)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta7 app/models/renalware/pathology.rb
renalware-core-2.0.0.pre.beta6 app/models/renalware/pathology.rb
renalware-core-2.0.0.pre.beta5 app/models/renalware/pathology.rb
renalware-core-2.0.0.pre.beta4 app/models/renalware/pathology.rb