Class: Renalware::Pathology::Requests::RequestParamsFactory

Inherits:
Object
  • Object
show all
Defined in:
app/models/renalware/pathology/requests/request_params_factory.rb

Instance Method Summary collapse

Instance Method Details

#buildObject



11
12
13
14
15
16
17
18
19
# File 'app/models/renalware/pathology/requests/request_params_factory.rb', line 11

def build
  {
    clinic: clinic,
    consultant: consultant,
    telephone: telephone,
    template: template,
    by: params[:by]
  }
end