Class: LockstepSdk::DeveloperAccountSubmitModel

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_nameString

Returns The company name of the developer.

Returns:

  • (String)

    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

#emailEmail

Returns The email address of the developer.

Returns:

  • (Email)

    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

#nameString

Returns The name of the developer.

Returns:

  • (String)

    The name of the developer.



31
32
33
# File 'lib/lockstep_sdk/models/developer_account_submit_model.rb', line 31

def name
  @name
end