Class: Sms77::Resources::Balance

Inherits:
Sms77::Resource show all
Defined in:
lib/sms77/resources/balance.rb

Constant Summary

Constants inherited from Sms77::Resource

Sms77::Resource::BASE_PATH

Instance Attribute Summary

Attributes inherited from Sms77::Resource

#api_key, #builder, #conn, #endpoint, #http_methods, #request_methods, #sent_with

Instance Method Summary collapse

Methods inherited from Sms77::Resource

get_endpoint, get_http_methods, #initialize

Constructor Details

This class inherits a constructor from Sms77::Resource

Instance Method Details

#retrieveFloat

Retrieve account balance for associated API key read more: www.sms77.io/en/docs/gateway/http-api/credit-balance/

Returns:

  • (Float)


16
17
18
# File 'lib/sms77/resources/balance.rb', line 16

def retrieve
  request
end