class Lithic::Resources::ResponderEndpoints

def check_status(params)

Returns:
  • (Lithic::Models::ResponderEndpointStatus) -

Options Hash: (**params)
  • :request_options (Lithic::RequestOptions, Hash{Symbol=>Object}, nil) --
  • :type (Symbol, Lithic::Models::ResponderEndpointCheckStatusParams::Type) -- The type of the endpoint.

Parameters:
  • params (Lithic::Models::ResponderEndpointCheckStatusParams, Hash{Symbol=>Object}) -- .
def check_status(params)
  parsed, options = Lithic::Models::ResponderEndpointCheckStatusParams.dump_request(params)
  @client.request(
    method: :get,
    path: "v1/responder_endpoints",
    query: parsed,
    model: Lithic::Models::ResponderEndpointStatus,
    options: options
  )
end

def create(params = {})

Returns:
  • (Lithic::Models::ResponderEndpointCreateResponse) -

Options Hash: (**params)
  • :request_options (Lithic::RequestOptions, Hash{Symbol=>Object}, nil) --
  • :url (String) -- The URL for the responder endpoint (must be http(s)).
  • :type (Symbol, Lithic::Models::ResponderEndpointCreateParams::Type) -- The type of the endpoint.

Parameters:
  • params (Lithic::Models::ResponderEndpointCreateParams, Hash{Symbol=>Object}) -- .
def create(params = {})
  parsed, options = Lithic::Models::ResponderEndpointCreateParams.dump_request(params)
  @client.request(
    method: :post,
    path: "v1/responder_endpoints",
    body: parsed,
    model: Lithic::Models::ResponderEndpointCreateResponse,
    options: options
  )
end

def delete(params)

Returns:
  • (nil) -

Options Hash: (**params)
  • :request_options (Lithic::RequestOptions, Hash{Symbol=>Object}, nil) --
  • :type (Symbol, Lithic::Models::ResponderEndpointDeleteParams::Type) -- The type of the endpoint.

Parameters:
  • params (Lithic::Models::ResponderEndpointDeleteParams, Hash{Symbol=>Object}) -- .
def delete(params)
  parsed, options = Lithic::Models::ResponderEndpointDeleteParams.dump_request(params)
  @client.request(
    method: :delete,
    path: "v1/responder_endpoints",
    query: parsed,
    model: NilClass,
    options: options
  )
end

def initialize(client:)

Parameters:
  • client (Lithic::Client) --
def initialize(client:)
  @client = client
end