Sha256: 99a57200a242e041c8ab45dcdefe0a26579e94125fee8b881e99dad64b93b1e8
Contents?: true
Size: 405 Bytes
Versions: 7
Compression:
Stored size: 405 Bytes
Contents
require 'geo_certs/api_object' module GeoCerts class Reseller < ApiObject ## # Returns a Float of the reseller's available balance. This balance is # for the user whose credentials are currently in use. # # >> GeoCerts::Reseller.balance # => 5495.23 # def self.balance call_api { GeoCerts.api.balance }[:balance].to_f end end end
Version data entries
7 entries across 7 versions & 1 rubygems