Sha256: 85d24a8ba4c19778de76d01b2b4ff91e8549cd6a6545930a97f75ce0b0a1d961
Contents?: true
Size: 325 Bytes
Versions: 4
Compression:
Stored size: 325 Bytes
Contents
class VoipfoneClient::Client # Return the balance of the account as a float. # @return [Float] Account balance as a float. Should be rounded to 2dp before presentation. def account_balance request = @browser.get("#{VoipfoneClient::API_GET_URL}?balance&builder") parse_response(request)["balance"] end end
Version data entries
4 entries across 4 versions & 1 rubygems