Sha256: 6be9009fe751e4ed765b6c7731e14775c3e18250affea8252e3c640d293b2d24
Contents?: true
Size: 762 Bytes
Versions: 116
Compression:
Stored size: 762 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/renal" module Renalware module Renal class AKIAlertSearchForm include ActiveModel::Model include Virtus::Model attribute :date, Date attribute :hospital_ward_id, Integer attribute :action, String attribute :term, String attribute :on_hotlist, String attribute :s, String def query @query ||= begin options = { created_at_casted_date_equals: date, identity_match: term, hospital_ward_id_eq: hospital_ward_id, action_id_eq: action, hotlist_eq: on_hotlist, s: s } AKIAlertQuery.new(options) end end end end end
Version data entries
116 entries across 116 versions & 1 rubygems