Class: ProvisioningClient
- Inherits:
-
Object
- Object
- ProvisioningClient
- Defined in:
- lib/lockstep_sdk/clients/provisioning_client.rb
Instance Method Summary collapse
-
#initialize(connection) ⇒ ProvisioningClient
constructor
Initialize the ProvisioningClient class with an API client instance.
-
#provision_free_developer_account(body:) ⇒ Object
Creates a new account for a developer, sending an email with information on how to access the API.
Constructor Details
#initialize(connection) ⇒ ProvisioningClient
Initialize the ProvisioningClient class with an API client instance.
22 23 24 |
# File 'lib/lockstep_sdk/clients/provisioning_client.rb', line 22 def initialize(connection) @connection = connection end |
Instance Method Details
#provision_free_developer_account(body:) ⇒ Object
Creates a new account for a developer, sending an email with information on how to access the API.
30 31 32 33 |
# File 'lib/lockstep_sdk/clients/provisioning_client.rb', line 30 def provision_free_developer_account(body:) path = "/api/v1/Provisioning/free-account" @connection.request(:post, path, body, nil) end |