Class: LockstepSdk::ErpInfoModel

Inherits:
Object
  • Object
show all
Defined in:
lib/lockstep_sdk/models/erp_info_model.rb

Overview

Represents the ERP object sent in a provisioning request

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idUuid

Returns The id of the ERP's App.

Returns:

  • (Uuid)

    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

#dataConnectorInfoModel

Returns The data required to store for connector access.

Returns:



32
33
34
# File 'lib/lockstep_sdk/models/erp_info_model.rb', line 32

def data
  @data
end