noresponse 2.1.0 → 2.1.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aa2ff6a681aaee7b0f9bd98478724782cb18249cc8c48942f034fbc8d867679d
|
|
4
|
+
data.tar.gz: 9bcb31d1a5a209bbaaf42d3b6bdf726dc7cd2ebdcb55751bb612351b40b0f185
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c8c253f5a8feb2f89d93d6075ccd782bb6021b02c4b0758046e111f387352d757605fa291cd24ad4a2094694f64dfaaa152b79b08ce3aae08e37685e63bf90be
|
|
7
|
+
data.tar.gz: e6d609c3ed68b38e8f7882d68f3f62699f26c02597be788ce329499bd0ad2c4cbe611c7a76c1b52b42d4f32eebd2247364bd62147480dc2fa79dc01c0b272753
|
|
@@ -50,7 +50,7 @@ module NoResponse
|
|
|
50
50
|
}
|
|
51
51
|
def create(body:, idempotency_key: nil, retries: nil, timeout_ms: nil, http_headers: nil)
|
|
52
52
|
# create - Assess identifiers for a signup or gateway decision.
|
|
53
|
-
# Returns within the deadline (
|
|
53
|
+
# Returns within the deadline (3000 ms at most) with a complete, partial or pending assessment: 200 carries complete or partial, 202 carries pending with Location and Retry-After. A pending answer has no recommendation; apply your own fallback for pending, 429, 503 or a timeout. risk.block says when your block threshold was reached. Requires the assess scope. Idempotency-Key is optional in the SDK and is bound to the body for 24 hours: the same key with the same body replays the latest assessment with Idempotent-Replayed: true and starts no new work; the same key with a different body answers 409 idempotency_key_reused. response_mode defaults to standard; detailed needs the detailed scope.
|
|
54
54
|
request = Models::Operations::CreateAssessmentRequest.new(
|
|
55
55
|
body: body,
|
|
56
56
|
idempotency_key: idempotency_key
|
|
@@ -33,7 +33,7 @@ module NoResponse
|
|
|
33
33
|
Crystalline::Nilable.new(::String),
|
|
34
34
|
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("request_id")}}
|
|
35
35
|
)
|
|
36
|
-
# Optional tighter budget, 50 to
|
|
36
|
+
# Optional tighter budget, 50 to 3000 ms, measured from the moment the request reaches NoResponse. Absent means the 3000 ms ceiling; a value above it is refused with 400 rather than clamped.
|
|
37
37
|
field(
|
|
38
38
|
:deadline_ms,
|
|
39
39
|
Crystalline::Nilable.new(::Integer),
|
|
@@ -95,9 +95,9 @@ module NoResponse
|
|
|
95
95
|
|
|
96
96
|
@language = "ruby"
|
|
97
97
|
@openapi_doc_version = "1"
|
|
98
|
-
@sdk_version = "2.1.
|
|
98
|
+
@sdk_version = "2.1.1"
|
|
99
99
|
@gen_version = "internal"
|
|
100
|
-
@user_agent = "noresponse-sdk/ruby 2.1.
|
|
100
|
+
@user_agent = "noresponse-sdk/ruby 2.1.1 internal 1 noresponse"
|
|
101
101
|
end
|
|
102
102
|
|
|
103
103
|
sig { returns([String, T::Hash[Symbol, String]]) }
|