Sha256: cbd358ff7b324a53615d18274761960fe936142aaa02a76d34a9548fdf144754
Contents?: true
Size: 561 Bytes
Versions: 9
Compression:
Stored size: 561 Bytes
Contents
module Octobat class Payout < APIResource extend Octobat::APIOperations::List def balance_transactions(params = {}, opts = {}) BalanceTransaction.list(params.merge({ payout: id }), {api_key: @api_key}.merge(opts)) end def self.csv_export(params = {}, opts={}) api_key, headers = Util.parse_opts(opts) api_key ||= @api_key opts[:api_key] = api_key instance = self.new(nil, opts) response, api_key = Octobat.request(:post, url + '/csv_export', api_key, params) return true end end end
Version data entries
9 entries across 9 versions & 1 rubygems