Sha256: 50e39edf03a5eeb657dda92ac9ebc830e821b0cfde0493297706e8881088e4b3
Contents?: true
Size: 529 Bytes
Versions: 1
Compression:
Stored size: 529 Bytes
Contents
# frozen_string_literal: true require 'seven_api/resource' # This module exposes the methods for communicating with the API endpoint /balance. module SevenApi::Resources class Balance < SevenApi::Resource @endpoint = SevenApi::Endpoint::BALANCE @http_methods = { :retrieve => :get, } # Retrieve account balance for associated API key # read more: https://www.seven.io/en/docs/gateway/http-api/credit-balance/ # @return [Float] def retrieve request end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
seven_api-0.5.0 | lib/seven_api/resources/balance.rb |