Module: Terminal::Modules::UsageAndCredits
Instance Method Summary collapse
-
#balance ⇒ Hash
Get the current balance of your account.
-
#burn_estimates ⇒ Hash
Get a summary of the chargers to your account, based on each Terminal instance to you have provisions.
-
#burn_history ⇒ Hash
Get a history of charges to your account balance.
-
#burn_state ⇒ Hash
Get a summary of current active charges to your account balance.
Instance Method Details
#balance ⇒ Hash
Get the current balance of your account
13 14 15 16 17 |
# File 'lib/terminal/modules/usage_and_credits.rb', line 13 def balance = {} [:auth] = true perform(:post, 'balance', ) end |
#burn_estimates ⇒ Hash
Get a summary of the chargers to your account, based on each Terminal instance to you have provisions
47 48 49 50 51 |
# File 'lib/terminal/modules/usage_and_credits.rb', line 47 def burn_estimates = {} [:auth] = true perform(:post, 'burn_estimates', ) end |
#burn_history ⇒ Hash
Get a history of charges to your account balance
24 25 26 27 28 |
# File 'lib/terminal/modules/usage_and_credits.rb', line 24 def burn_history = {} [:auth] = true perform(:post, 'burn_history', ) end |
#burn_state ⇒ Hash
Get a summary of current active charges to your account balance
35 36 37 38 39 |
# File 'lib/terminal/modules/usage_and_credits.rb', line 35 def burn_state = {} [:auth] = true perform(:post, 'burn_state', ) end |