use_paragon 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +8 -0
- data/changelog.md +2 -2
- data/lib/use_paragon/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4eea99462114a73de8cdbaab838804f101429b1501c47e6f5f539f58ef0c6e4d
|
4
|
+
data.tar.gz: 6985b1ed30f785a7636e90df9cfa97cdb2a100742052b3f302b6ff4b3141bc7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19441c40b4bed8fbd22d8dc001f623ff42009720dca8105066e434ebe14ee5ed23424616d440cc3ce65a1ff9fe062362297c79d5cdbce43b289b9964a0724ac8
|
7
|
+
data.tar.gz: 1a6ac16ae3785ea272efbeebd4b29448a2d7df4fcc5b8a2dcf4a57d316cd4fe5329293e9571e93dded724188a1d08416b2597e426a3a26d25be65545aa30bd86
|
data/README.md
CHANGED
@@ -95,6 +95,10 @@ App Events can be sent from your application using the Paragon REST API.
|
|
95
95
|
|
96
96
|
UseParagon::Workflow.new(user_id).event(event_name, payload = {})
|
97
97
|
|
98
|
+
You can also pass custom headers:
|
99
|
+
|
100
|
+
UseParagon::Workflow.new(user_id).event(event_name, payload = {}, headers: { "X-Custom-Header" => "value" })
|
101
|
+
|
98
102
|
### Proxy Request
|
99
103
|
[Paragon Documentation](https://docs.useparagon.com/api/api-reference#request-integrationtype-string-path-string-requestoptions-requestinit-promise-less-than-unknown-gre)
|
100
104
|
|
@@ -126,6 +130,10 @@ Trigger a Paragon workflow that sends a custom response back to your app. Note:
|
|
126
130
|
|
127
131
|
UseParagon::Workflow.new(user_id).request(workflow_id, payload = {})
|
128
132
|
|
133
|
+
You can also pass custom headers:
|
134
|
+
|
135
|
+
UseParagon::Workflow.new(user_id).request(workflow_id, payload = {}, headers: { "X-Custom-Header" => "value" })
|
136
|
+
|
129
137
|
### Get Project's Integrations
|
130
138
|
[Paragon Documentation](https://docs.useparagon.com/api/api-reference#get-projects-integrations)
|
131
139
|
|
data/changelog.md
CHANGED
@@ -5,11 +5,11 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
-
## [0.2.0] -
|
8
|
+
## [0.2.0] - 2025-07-15
|
9
9
|
|
10
10
|
### Added
|
11
11
|
|
12
|
-
- Added an optional `
|
12
|
+
- Added an optional `headers` kwarg to `Workflow#request` and `Workflow#event` methods
|
13
13
|
|
14
14
|
### Changed
|
15
15
|
|
data/lib/use_paragon/version.rb
CHANGED