Sha256: abf64d680c137f48f6d5dfef258d854dad476fc49272cfbebb836e779a9cc247
Contents?: true
Size: 327 Bytes
Versions: 4
Compression:
Stored size: 327 Bytes
Contents
module Moip2 class BalancesApi attr_reader :client def initialize(client) client.opts[:headers]["Accept"] = "application/json;version=2.1" @client = client end def base_path "/v2/balances" end def show Resource::Balances.new(client, client.get(base_path)) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
moip2-1.3.1 | lib/moip2/balances_api.rb |
moip2-1.2.1 | lib/moip2/balances_api.rb |
moip2-1.2.0 | lib/moip2/balances_api.rb |
moip2-1.1.0 | lib/moip2/balances_api.rb |