Module: Nis::Endpoint::Mosaic::Supply

Included in:
Nis
Defined in:
lib/nis/endpoint/mosaic/supply.rb

Instance Method Summary collapse

Instance Method Details

#mosaic_supply(mosaic_id:) ⇒ Nis::Struct::MosaicSupply

Returns Nis::Struct::MosaicSupply.

Returns:

See Also:



5
6
7
8
9
10
11
# File 'lib/nis/endpoint/mosaic/supply.rb', line 5

def mosaic_supply(mosaic_id:)
  request!(:get, '/mosaic/supply',
    mosaicId: mosaic_id,
  ) do |res|
    Nis::Struct::MosaicSupply.build(res)
  end
end