Class: Nis::Struct::MosaicProperties

Inherits:
Object
  • Object
show all
Includes:
Util::Assignable
Defined in:
lib/nis/struct/mosaic_properties.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Util::Assignable

#[], #initialize, #to_hash, #to_json

Instance Attribute Details

#divisibilityInteger


8
9
10
# File 'lib/nis/struct/mosaic_properties.rb', line 8

def divisibility
  @divisibility
end

#initialSupplyInteger Also known as: initial_supply


8
9
10
# File 'lib/nis/struct/mosaic_properties.rb', line 8

def initialSupply
  @initialSupply
end

#propertiesArray


8
9
10
# File 'lib/nis/struct/mosaic_properties.rb', line 8

def properties
  @properties
end

#supplyMutableBoolean Also known as: supply_mutable


8
9
10
# File 'lib/nis/struct/mosaic_properties.rb', line 8

def supplyMutable
  @supplyMutable
end

#transferableBoolean


8
9
10
# File 'lib/nis/struct/mosaic_properties.rb', line 8

def transferable
  @transferable
end

Class Method Details

.build(attrs) ⇒ Object


17
18
19
# File 'lib/nis/struct/mosaic_properties.rb', line 17

def self.build(attrs)
  new(attrs)
end

Instance Method Details

#supply_mutable?Boolean


22
23
24
# File 'lib/nis/struct/mosaic_properties.rb', line 22

def supply_mutable?
  @supply_mutable == 'true'
end

#transferable?Boolean


27
28
29
# File 'lib/nis/struct/mosaic_properties.rb', line 27

def transferable?
  @transferable == 'true'
end