Knock.Client (Knock v0.4.14) View Source
Sets up a configurable client that can interface with the Knock API. Expects at least an API key to be provided.
Example usage
# Setup a client instance directly
client = Knock.Client.new(api_key: "sk_test_12345")
Link to this section Summary
Link to this section Types
Specs
Describes a Knock client
Link to this section Functions
Specs
Creates a new client struct with the provided options. The options provided must at least contain an API secret key, which can be obtained in the Knock dashboard.