Class: Privy::Models::IntentAuthorization
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::IntentAuthorization
- Defined in:
- lib/privy/models/intent_authorization.rb
Instance Attribute Summary collapse
-
#display_name ⇒ String?
Display name of the key quorum.
-
#members ⇒ Array<Privy::Models::IntentAuthorizationMember::UserMember, Privy::Models::IntentAuthorizationMember::KeyMember, Privy::Models::IntentAuthorizationMember::KeyQuorumMember>
Members in this authorization quorum.
-
#threshold ⇒ Float
Number of signatures required to satisfy this quorum.
Instance Method Summary collapse
-
#initialize(members:, threshold:, display_name: nil) ⇒ Object
constructor
Authorization quorum for an intent.
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
#initialize(members:, threshold:, display_name: nil) ⇒ Object
Authorization quorum for an intent
|
|
# File 'lib/privy/models/intent_authorization.rb', line 24
|
Instance Attribute Details
#display_name ⇒ String?
Display name of the key quorum
22 |
# File 'lib/privy/models/intent_authorization.rb', line 22 optional :display_name, String |
#members ⇒ Array<Privy::Models::IntentAuthorizationMember::UserMember, Privy::Models::IntentAuthorizationMember::KeyMember, Privy::Models::IntentAuthorizationMember::KeyQuorumMember>
Members in this authorization quorum
10 |
# File 'lib/privy/models/intent_authorization.rb', line 10 required :members, -> { Privy::Internal::Type::ArrayOf[union: Privy::IntentAuthorizationMember] } |
#threshold ⇒ Float
Number of signatures required to satisfy this quorum
16 |
# File 'lib/privy/models/intent_authorization.rb', line 16 required :threshold, Float |