class InterFAX::Account

Public Class Methods

new(client) click to toggle source
# File lib/interfax/account.rb, line 3
def initialize client
  @client = client
end

Public Instance Methods

balance() click to toggle source
# File lib/interfax/account.rb, line 7
def balance
  @client.get('/accounts/self/ppcards/balance').to_f
end