Class: Nexmo::Account
Instance Method Summary
collapse
Methods inherited from Namespace
#initialize
Instance Method Details
#balance ⇒ Object
5
6
7
|
# File 'lib/nexmo/account.rb', line 5
def balance
request('/account/get-balance')
end
|
#topup(params) ⇒ Object
13
14
15
|
# File 'lib/nexmo/account.rb', line 13
def topup(params)
request('/account/top-up', params: params, type: Post)
end
|
#update(params) ⇒ Object
9
10
11
|
# File 'lib/nexmo/account.rb', line 9
def update(params)
request('/account/settings', params: params, type: Post)
end
|