Sha256: e4734761a35c1842d59d2315df7043ceec182acffaf9606c3ed00d0b2531576a
Contents?: true
Size: 840 Bytes
Versions: 3
Compression:
Stored size: 840 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 attribute :named_filter, 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, named_filter: named_filter } AKIAlertQuery.new(options) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems