Class: CheckoutSdk::Common::Headers
- Inherits:
-
Object
- Object
- CheckoutSdk::Common::Headers
- Defined in:
- lib/checkout_sdk/common/headers.rb
Overview
Optional HTTP headers that callers can pass to a client method, mirroring
the SDK's Headers pattern. Currently exposes If-Match (required
by endpoints with optimistic-concurrency semantics, e.g. update reserve
rule); future shared headers can be added here.
Instance Attribute Summary collapse
-
#if_match ⇒ String
ETag value to forward as the
If-MatchHTTP header.
Instance Attribute Details
#if_match ⇒ String
Returns ETag value to forward as the If-Match HTTP header.
12 13 14 |
# File 'lib/checkout_sdk/common/headers.rb', line 12 class Headers attr_accessor :if_match end |