Module: Redox::Request

Defined in:
lib/redox/request/media.rb,
lib/redox/request/notes.rb,
lib/redox/request/request.rb,
lib/redox/request/provider.rb,
lib/redox/request/financial.rb,
lib/redox/request/scheduling.rb,
lib/redox/request/medications.rb,
lib/redox/request/patient_admin.rb,
lib/redox/request/patient_search.rb

Defined Under Namespace

Classes: Financial, Media, Medications, Notes, PatientAdmin, PatientSearch, Provider, Scheduling

Class Method Summary collapse

Class Method Details

.build_body(params, meta) ⇒ Object



3
4
5
6
7
# File 'lib/redox/request/request.rb', line 3

def self.build_body(params, meta)
  meta = Redox::Models::Meta.new.merge(meta)

  return meta.to_h.merge(params.to_h)
end