Class: Inttegro::Balance::Snapshot

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/balance/snapshot.rb

Overview

The latest GHS balance snapshot for the application.

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

#ghs ⇒ Inttegro::Balance::CurrencySnapshot (readonly)

Value of the ghs field in the Inttegro API payload.

Required in the API payload. Wire name: ghs.



24
25
26
# File 'lib/inttegro/balance/snapshot.rb', line 24

class Snapshot < T::Struct
  const :ghs, Inttegro::Balance::CurrencySnapshot
end