Class: OrcaApi::FormDataService

Inherits:
Service
  • Object
show all
Defined in:
lib/orca_api/form_data_service.rb

Overview

帳票データAPI

Instance Attribute Summary

Attributes inherited from Service

#orca_api

Instance Method Summary collapse

Methods inherited from Service

#initialize, reuse_session

Constructor Details

This class inherits a constructor from OrcaApi::Service

Constructor Details

This class inherits a constructor from OrcaApi::Service

Instance Method Details

#get(data_id) ⇒ Object



9
10
11
12
13
14
15
16
17
18
# File 'lib/orca_api/form_data_service.rb', line 9

def get(data_id)
  FormResult.new(
    orca_api.call("/api01rv2/formdatagetv2",
                  body: {
                    "data" => {
                      "Data_ID" => data_id
                    }
                  })
  )
end