Class: Redox::Request::Medications
- Inherits:
-
Object
- Object
- Redox::Request::Medications
- Defined in:
- lib/redox/request/medications.rb
Constant Summary collapse
- ADMINISTRATION_META =
Redox::Models::Meta.new(EventType: 'Administration', DataModel: 'Medications')
Class Method Summary collapse
Class Method Details
.administration(model, meta: Redox::Models::Meta.new) ⇒ Object
6 7 8 9 |
# File 'lib/redox/request/medications.rb', line 6 def self.administration(model, meta: Redox::Models::Meta.new) = ADMINISTRATION_META.merge() return Redox::Models::Model.from_response((RedoxClient.connection.request(body: Redox::Request.build_body(model, )))) end |