class BalanceGateway
Public Class Methods
new(client)
click to toggle source
# File lib/BalanceGateway.rb, line 4 def initialize(client) @client = client end
Public Instance Methods
find(term = '')
click to toggle source
# File lib/BalanceGateway.rb, line 8 def find(term = '') response = @client.get('/v1/balances/' + term ) JSON.parse(response, object_class: OpenStruct) end