Class: Nem::Model::MultisigInfo
- Inherits:
-
Object
- Object
- Nem::Model::MultisigInfo
- Includes:
- Nem::Mixin::Assignable
- Defined in:
- lib/nem/model/multisig_info.rb
Instance Attribute Summary collapse
-
#cosignatories_count ⇒ Object
readonly
Returns the value of attribute cosignatories_count.
-
#min_cosignatories ⇒ Object
readonly
Returns the value of attribute min_cosignatories.
Class Method Summary collapse
Methods included from Nem::Mixin::Assignable
Instance Attribute Details
#cosignatories_count ⇒ Object (readonly)
Returns the value of attribute cosignatories_count.
6 7 8 |
# File 'lib/nem/model/multisig_info.rb', line 6 def cosignatories_count @cosignatories_count end |
#min_cosignatories ⇒ Object (readonly)
Returns the value of attribute min_cosignatories.
6 7 8 |
# File 'lib/nem/model/multisig_info.rb', line 6 def min_cosignatories @min_cosignatories end |
Class Method Details
.new_from_multisig_info(hash) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/nem/model/multisig_info.rb', line 8 def self.new_from_multisig_info(hash) new( cosignatories_count: hash[:cosignatoriesCount], min_cosignatories: hash[:minCosignatories] ) end |