class Gocoin::Merchants::Payouts

Public Class Methods

new(api) click to toggle source
# File lib/gocoin/api/merchants/payouts.rb, line 5
def initialize(api)
  @api = api
end

Public Instance Methods

get(merchant_id, payout_id) click to toggle source
# File lib/gocoin/api/merchants/payouts.rb, line 9
def get(merchant_id, payout_id)
        @api.client.logger.debug 'Gocoin::Merchants::Payouts#get called.'
        route = "/merchants/#{merchant_id}/payouts/#{payout_id}"
        options = {}
        @api.request route, options
end
list(merchant_id) click to toggle source
# File lib/gocoin/api/merchants/payouts.rb, line 16
def list(merchant_id)
        @api.client.logger.debug 'Gocoin::Merchants::Payouts#list called.'
        route = "/merchants/#{merchant_id}/payouts"
        options = {}
        @api.request route, options
end