class EtFakeCcd::Command::StartMultipleCommand

Public Class Methods

from_json(json) click to toggle source
# File lib/et_fake_ccd/command/start_multiple_command.rb, line 16
def self.from_json(json)
  case_ref_number_count = json.dig('case_details', 'case_data', 'caseRefNumberCount')
  case_type_id = json.dig('case_details', 'case_type_id')
  new case_ref_number_count: case_ref_number_count, case_type_id: case_type_id
end