Class: OrcaApi::StatisticsFormService::CreatedResult

Inherits:
Result
  • Object
show all
Defined in:
lib/orca_api/statistics_form_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 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::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

#doing?Boolean

処理中かどうか

Returns:

  • (Boolean)

    処理中であればtrue、そうでなければfalse。



84
85
86
# File 'lib/orca_api/statistics_form_service.rb', line 84

def doing?
  api_result == "E70"
end

#statistics_processing_list_informationArray<Hash>

Returns 処理一覧

Returns:

  • (Array<Hash>)

    処理一覧



77
78
79
# File 'lib/orca_api/statistics_form_service.rb', line 77

def statistics_processing_list_information
  Array(body["Statistics_Processing_List_Information"])
end