Class: Token

Inherits:
Base show all
Defined in:
lib/blocksdk_ruby/price.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

#getUsages(request = {}) ⇒ Object



4
5
6
7
8
9
# File 'lib/blocksdk_ruby/price.rb', line 4

def getUsages(request = {})		
	return request("GET","/token/usage",{
		"stat_date" => request['stat_date'],
		"end_date" => request['end_date']
	})
end