Sha256: a063f078afcc155d56384073350207a9b7a179f3698b0002322f26c846afb0ce

Contents?: true

Size: 437 Bytes

Versions: 8

Compression:

Stored size: 437 Bytes

Contents

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

module Renalware
  module Patients
    module_function

    def table_name_prefix
      "patient_"
    end

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

    def self.cast_user(user)
      ActiveType.cast(user, ::Renalware::Patients::User)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta11 app/models/renalware/patients.rb
renalware-core-2.0.0.pre.beta10 app/models/renalware/patients.rb
renalware-core-2.0.0.pre.beta9 app/models/renalware/patients.rb
renalware-core-2.0.0.pre.beta8 app/models/renalware/patients.rb
renalware-core-2.0.0.pre.beta7 app/models/renalware/patients.rb
renalware-core-2.0.0.pre.beta6 app/models/renalware/patients.rb
renalware-core-2.0.0.pre.beta5 app/models/renalware/patients.rb
renalware-core-2.0.0.pre.beta4 app/models/renalware/patients.rb