Module: Twizo::Balance
- Defined in:
- lib/twizo/modules/balance.rb
Instance Method Summary collapse
-
#send ⇒ Object
Send message to the server and return response.
Instance Method Details
#send ⇒ Object
Send message to the server and return response
21 22 23 24 25 26 27 |
# File 'lib/twizo/modules/balance.rb', line 21 def send response = send_api_call(Entity::ACTION_RETRIEVE, location) raise response if response.kind_of?(TwizoError) response_to_array(response) end |