Class: EtFakeCcd::Command::CreateCaseCommand

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Attributes, ActiveModel::Model
Defined in:
lib/et_fake_ccd/command/create_case_command.rb

Constant Summary collapse

SCHEMA_FILE =
File.absolute_path(File.join('..', 'case_create.json'), __dir__)
ELMOS_BIRTHDAY =
Time.new(2019,9,1).to_f

Class Method Summary collapse

Class Method Details

.from_json(json) ⇒ Object



14
15
16
# File 'lib/et_fake_ccd/command/create_case_command.rb', line 14

def self.from_json(json)
  new data: json.dup
end