Module: Nem::Mixin::MosaicDefinition

Defined in:
lib/nem/mixin/mosaic_definition.rb

Instance Method Summary collapse

Instance Method Details

#divisibility(value) ⇒ Object



16
17
18
19
20
# File 'lib/nem/mixin/mosaic_definition.rb', line 16

def divisibility(value)
  define_method "#{__method__}" do
    value
  end
end

#initial_supply(value) ⇒ Object



22
23
24
25
26
# File 'lib/nem/mixin/mosaic_definition.rb', line 22

def initial_supply(value)
  define_method "#{__method__}" do
    value
  end
end

#name(value) ⇒ Object



10
11
12
13
14
# File 'lib/nem/mixin/mosaic_definition.rb', line 10

def name(value)
  define_method "#{__method__}" do
    value
  end
end

#namespace_id(value) ⇒ Object



4
5
6
7
8
# File 'lib/nem/mixin/mosaic_definition.rb', line 4

def namespace_id(value)
  define_method "#{__method__}" do
    value
  end
end