Class: LockstepSdk::ProvisioningModel
- Inherits:
-
Object
- Object
- LockstepSdk::ProvisioningModel
- Defined in:
- lib/lockstep_sdk/models/provisioning_model.rb
Overview
Represents the data sent during the onboarding flow
Instance Attribute Summary collapse
-
#company ⇒ CompanyModel
The company information for the new user and group.
-
#default_currency ⇒ String
The default currency of the new user.
-
#erp ⇒ ErpInfoModel
The information necessary to enroll the user in their ERP.
-
#full_name ⇒ String
The full name of the new user.
-
#time_zone ⇒ String
The time zone of the new user.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ ProvisioningModel
constructor
Initialize the ProvisioningModel using the provided prototype.
Constructor Details
#initialize(params = {}) ⇒ ProvisioningModel
Initialize the ProvisioningModel using the provided prototype
24 25 26 27 28 29 30 |
# File 'lib/lockstep_sdk/models/provisioning_model.rb', line 24 def initialize(params = {}) @full_name = params.dig(:full_name) @time_zone = params.dig(:time_zone) @default_currency = params.dig(:default_currency) @erp = params.dig(:erp) @company = params.dig(:company) end |
Instance Attribute Details
#company ⇒ CompanyModel
Returns The company information for the new user and group.
41 42 43 |
# File 'lib/lockstep_sdk/models/provisioning_model.rb', line 41 def company @company end |
#default_currency ⇒ String
Returns The default currency of the new user.
37 38 39 |
# File 'lib/lockstep_sdk/models/provisioning_model.rb', line 37 def default_currency @default_currency end |
#erp ⇒ ErpInfoModel
Returns The information necessary to enroll the user in their ERP.
39 40 41 |
# File 'lib/lockstep_sdk/models/provisioning_model.rb', line 39 def erp @erp end |
#full_name ⇒ String
Returns The full name of the new user.
33 34 35 |
# File 'lib/lockstep_sdk/models/provisioning_model.rb', line 33 def full_name @full_name end |
#time_zone ⇒ String
Returns The time zone of the new user.
35 36 37 |
# File 'lib/lockstep_sdk/models/provisioning_model.rb', line 35 def time_zone @time_zone end |