Class: OrcaApi::PatientService::AccidentInsurance::UnselectedError

Inherits:
Result
  • Object
show all
Defined in:
lib/orca_api/patient_service/accident_insurance.rb

Overview

選択項目が未指定であることを表現するクラス

Constant Summary

Constants inherited from Result

Result::LOCKED_API_RESULT

Instance Attribute Summary

Attributes inherited from Result

#raw

Instance Method Summary collapse

Methods inherited from Result

#[], #body, def_info, #initialize, #locked?, #method_missing, parse, #respond_to_missing?, trim_response, #warning?

Constructor Details

This class inherits a constructor from OrcaApi::Result

Constructor Details

This class inherits a constructor from OrcaApi::Result

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class OrcaApi::Result

Instance Method Details

#messageObject



16
17
18
# File 'lib/orca_api/patient_service/accident_insurance.rb', line 16

def message
  '選択項目が未指定です。'
end

#ok?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/orca_api/patient_service/accident_insurance.rb', line 12

def ok?
  false
end