Class: LockstepSdk::DeveloperAccountSubmitModel
- Inherits:
-
Object
- Object
- LockstepSdk::DeveloperAccountSubmitModel
- Defined in:
- lib/lockstep_sdk/models/developer_account_submit_model.rb
Overview
Model containing information to create a new developer account.
Instance Attribute Summary collapse
-
#company_name ⇒ String
The company name of the developer.
-
#email ⇒ Email
The email address of the developer.
-
#name ⇒ String
The name of the developer.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ DeveloperAccountSubmitModel
constructor
Initialize the DeveloperAccountSubmitModel using the provided prototype.
Constructor Details
#initialize(params = {}) ⇒ DeveloperAccountSubmitModel
Initialize the DeveloperAccountSubmitModel using the provided prototype
24 25 26 27 28 |
# File 'lib/lockstep_sdk/models/developer_account_submit_model.rb', line 24 def initialize(params = {}) @name = params.dig(:name) @email = params.dig(:email) @company_name = params.dig(:company_name) end |
Instance Attribute Details
#company_name ⇒ String
Returns The company name of the developer.
35 36 37 |
# File 'lib/lockstep_sdk/models/developer_account_submit_model.rb', line 35 def company_name @company_name end |
#email ⇒ Email
Returns The email address of the developer.
33 34 35 |
# File 'lib/lockstep_sdk/models/developer_account_submit_model.rb', line 33 def email @email end |
#name ⇒ String
Returns The name of the developer.
31 32 33 |
# File 'lib/lockstep_sdk/models/developer_account_submit_model.rb', line 31 def name @name end |