Class: Vonage::Account
- Inherits:
-
Namespace
- Object
- Namespace
- Vonage::Account
- Extended by:
- T::Sig
- Defined in:
- lib/vonage/account.rb
Instance Method Summary collapse
Instance Method Details
#balance ⇒ Object
20 21 22 |
# File 'lib/vonage/account.rb', line 20 def balance request('/account/get-balance') end |
#topup(params) ⇒ Object
59 60 61 |
# File 'lib/vonage/account.rb', line 59 def topup(params) request('/account/top-up', params: params, type: Post) end |
#update(params) ⇒ Object
43 44 45 |
# File 'lib/vonage/account.rb', line 43 def update(params) request('/account/settings', params: camelcase(params), type: Post) end |