Class: Tool

Inherits:
Base show all
Defined in:
lib/blocksdk_ruby/tool.rb

Instance Attribute Summary

Attributes inherited from Base

#api_token

Instance Method Summary collapse

Methods inherited from Base

#initialize, #request

Constructor Details

This class inherits a constructor from Base

Instance Method Details

#getTransaction(request = {}) ⇒ Object



4
5
6
# File 'lib/blocksdk_ruby/tool.rb', line 4

def getTransaction(request = {})		
	return getHashType("GET","/tools/hash-type/" + (request['hash']).to_s+ "")
end