Class: LeadsClient
- Inherits:
-
Object
- Object
- LeadsClient
- Defined in:
- lib/lockstep_sdk/clients/leads.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.
24 25 26 |
# File 'lib/lockstep_sdk/clients/leads.rb', line 24 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.
33 34 35 36 |
# File 'lib/lockstep_sdk/clients/leads.rb', line 33 def create_leads(body:) path = "/api/v1/Leads" @lockstepsdk.request(:post, path, body, nil) end |