Class: LeadsClient
- Inherits:
-
Object
- Object
- LeadsClient
- Defined in:
- lib/lockstep_sdk/clients/leads_client.rb
Instance Method Summary collapse
-
#create_leads(body:) ⇒ Object
Creates one or more Leads within the Lockstep platform and returns the records as created.
-
#initialize(lockstepsdk) ⇒ LeadsClient
constructor
Initialize the LeadsClient class with a lockstepsdk instance.
Constructor Details
#initialize(lockstepsdk) ⇒ LeadsClient
Initialize the LeadsClient class with a lockstepsdk instance.
25 26 27 |
# File 'lib/lockstep_sdk/clients/leads_client.rb', line 25 def initialize(lockstepsdk) @lockstepsdk = lockstepsdk end |
Instance Method Details
#create_leads(body:) ⇒ Object
Creates one or more Leads within the Lockstep platform and returns the records as created.
A Lead is a person who is interested in the Lockstep platform but needs certain new features in order to use it. If you are interested in the Lockstep platform, you can create a lead with your information and our team will prioritize the feature you need.
36 37 38 39 |
# File 'lib/lockstep_sdk/clients/leads_client.rb', line 36 def create_leads(body:) path = "/api/v1/Leads" @lockstepsdk.request(:post, path, body, nil) end |