Class: LeadsClient

Inherits:
Object
  • Object
show all
Defined in:
lib/lockstep_sdk/clients/leads.rb

Instance Method Summary collapse

Constructor Details

#initialize(lockstepsdk) ⇒ LeadsClient

Initialize the LeadsClient class with a lockstepsdk instance.

Parameters:

  • lockstepsdk (LockstepApi)

    The Lockstep API client object for this connection



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.

Parameters:

  • body (LeadModel)

    The Leads to create



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