Class: Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws::Header

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/card_web_provision_response.rb,
sig/lithic/models/card_web_provision_response.rbs

Overview

See Also:

  • Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws#header

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initializeHeader

Returns a new instance of Header.

Parameters:

  • kid: (String)


79
# File 'sig/lithic/models/card_web_provision_response.rbs', line 79

def initialize: (?kid: String) -> void

Instance Attribute Details

#kidString?

The ID for the JWS Public Key of the key pair used to generate the signature.

Parameters:

  • (String)

Returns:

  • (String, nil)


81
# File 'lib/lithic/models/card_web_provision_response.rb', line 81

optional :kid, String

Instance Method Details

#to_hash{ kid: String }

Returns:

  • ({ kid: String })


81
# File 'sig/lithic/models/card_web_provision_response.rbs', line 81

def to_hash: -> { kid: String }