Class: LockstepSdk::ErpInfoModel
- Inherits:
-
Object
- Object
- LockstepSdk::ErpInfoModel
- Defined in:
- lib/lockstep_sdk/models/erp_info_model.rb
Overview
Represents the ERP object sent in a provisioning request
Instance Attribute Summary collapse
-
#app_id ⇒ Uuid
The id of the ERP's App.
-
#data ⇒ ConnectorInfoModel
The data required to store for connector access.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ ErpInfoModel
constructor
Initialize the ErpInfoModel using the provided prototype.
Constructor Details
#initialize(params = {}) ⇒ ErpInfoModel
Initialize the ErpInfoModel using the provided prototype
24 25 26 27 |
# File 'lib/lockstep_sdk/models/erp_info_model.rb', line 24 def initialize(params = {}) @app_id = params.dig(:app_id) @data = params.dig(:data) end |
Instance Attribute Details
#app_id ⇒ Uuid
Returns The id of the ERP's App.
30 31 32 |
# File 'lib/lockstep_sdk/models/erp_info_model.rb', line 30 def app_id @app_id end |
#data ⇒ ConnectorInfoModel
Returns The data required to store for connector access.
32 33 34 |
# File 'lib/lockstep_sdk/models/erp_info_model.rb', line 32 def data @data end |