Module: Services::SltcBaselineRequestor

Defined in:
app/roles/services/sltc_baseline_requestor.rb

Instance Method Summary collapse

Instance Method Details

#request_baseline(params) ⇒ Object



5
6
7
8
9
10
11
12
13
14
15
# File 'app/roles/services/sltc_baseline_requestor.rb', line 5

def request_baseline(params)
  provider_id = params[:provider_id]
  uploaded_before = Time.parse(params[:uploaded_before])
  uploaded_after = Time.parse(params[:uploaded_after])

  sd = service_definition

  si = sd.service_implementation

  si.request_baseline(self, provider_id, uploaded_after, uploaded_before)
end