Class: Melos::Struct::GroupInfoTBS
- Defined in:
- lib/melos/struct/structs.rb
Constant Summary collapse
- STRUCT =
[ [:group_context, :class, Melos::Struct::GroupContext], [:extensions, :classes, Melos::Struct::Extension], [:confirmation_tag, :vec], # MAC = opaque <V> [:signer, :uint32] ]
Instance Attribute Summary collapse
-
#confirmation_tag ⇒ Object
readonly
Returns the value of attribute confirmation_tag.
-
#extensions ⇒ Object
readonly
Returns the value of attribute extensions.
-
#group_context ⇒ Object
readonly
Returns the value of attribute group_context.
-
#signature ⇒ Object
readonly
Returns the value of attribute signature.
-
#signer ⇒ Object
readonly
Returns the value of attribute signer.
Class Method Summary collapse
Methods inherited from Base
#deserialize_select_elem_with_context, #initialize, #raw
Constructor Details
This class inherits a constructor from Melos::Struct::Base
Instance Attribute Details
#confirmation_tag ⇒ Object (readonly)
Returns the value of attribute confirmation_tag.
508 509 510 |
# File 'lib/melos/struct/structs.rb', line 508 def confirmation_tag @confirmation_tag end |
#extensions ⇒ Object (readonly)
Returns the value of attribute extensions.
508 509 510 |
# File 'lib/melos/struct/structs.rb', line 508 def extensions @extensions end |
#group_context ⇒ Object (readonly)
Returns the value of attribute group_context.
508 509 510 |
# File 'lib/melos/struct/structs.rb', line 508 def group_context @group_context end |
#signature ⇒ Object (readonly)
Returns the value of attribute signature.
508 509 510 |
# File 'lib/melos/struct/structs.rb', line 508 def signature @signature end |
#signer ⇒ Object (readonly)
Returns the value of attribute signer.
508 509 510 |
# File 'lib/melos/struct/structs.rb', line 508 def signer @signer end |
Class Method Details
.create(group_context:, extensions:, confirmation_tag:, signer:) ⇒ Object
516 517 518 519 520 521 522 523 |
# File 'lib/melos/struct/structs.rb', line 516 def self.create(group_context:, extensions:, confirmation_tag:, signer:) new_instance = self.allocate new_instance.instance_variable_set(:@group_context, group_context) new_instance.instance_variable_set(:@extensions, extensions) new_instance.instance_variable_set(:@confirmation_tag, confirmation_tag) new_instance.instance_variable_set(:@signer, signer) new_instance end |