Class: Inttegro::SecretKey::GenerateResponse

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/secret_key/generate_response.rb

Overview

Typed representation of the generate response object in the Inttegro API.

This generated model is immutable. Construct it with .new, or decode a string-keyed API payload with .from_hash. #serialize produces a string-keyed hash using the original wire field names and serialized enum values.

Instance Attribute Summary collapse

Instance Attribute Details

#key ⇒ Inttegro::SecretKey::Generated (readonly)

Newly generated secret key. The token is returned once and cannot be retrieved later.

Required in the API payload. Wire name: key.



24
25
26
# File 'lib/inttegro/secret_key/generate_response.rb', line 24

class GenerateResponse < T::Struct
  const :key, Inttegro::SecretKey::Generated
end