Module: Smsc::Api::Balance
- Included in:
- Client
- Defined in:
- lib/smsc/api/balance.rb
Overview
Balance api module
Instance Method Summary collapse
-
#balance ⇒ Smsc::Balance
Receive customer balance.
Instance Method Details
#balance ⇒ Smsc::Balance
Receive customer balance
16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/smsc/api/balance.rb', line 16 def balance request( endpoint: 'balance', params: {}, model: Smsc::Balance, errors: { 1 => BadRequest, 2 => Unauthorized, 4 => TooManyRequests, 9 => TooManyRequests } ) end |