Method: Logistics::Core::ConvoyRatesController#create

Defined in:
app/controllers/logistics/core/convoy_rates_controller.rb

#createObject

POST /bill_of_loading_rates POST /bill_of_loading_rates.json



21
22
23
24
25
26
# File 'app/controllers/logistics/core/convoy_rates_controller.rb', line 21

def create
  effective_date = params[:effective_date]
  ConvoyRate.generate_rate_for_convoy_services(effective_date)
  @response = Mks::Common::MethodResponse.new(true, 'Rate generated successfully', nil, nil, nil)
  render json: @response
end