Module: Nis::Endpoint::Block::Get

Included in:
Nis
Defined in:
lib/nis/endpoint/block/get.rb

Instance Method Summary collapse

Instance Method Details

#block_get(block_hash:) ⇒ Nis::Struct::Block


6
7
8
# File 'lib/nis/endpoint/block/get.rb', line 6

def block_get(block_hash:)
  Nis::Struct::Block.build request!(:get, '/block/get', blockHash: block_hash)
end