Class: OrcaApi::MedicalPracticeService::Response2Result

Inherits:
ResponseResult show all
Defined in:
lib/orca_api/medical_practice_service.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 ResponseResult

#initialize, #ok?

Methods inherited from Result

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

Constructor Details

This class inherits a constructor from OrcaApi::MedicalPracticeService::ResponseResult

Constructor Details

This class inherits a constructor from OrcaApi::MedicalPracticeService::ResponseResult

Dynamic Method Handling

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

Instance Method Details

#medical_informationHash

Returns:

  • (Hash)


149
150
151
# File 'lib/orca_api/medical_practice_service.rb', line 149

def medical_information
  Hash(body["Medical_Information"])
end