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