class Levelup::Endpoints::MerchantFundedCredits

The endpoint holding all functions relating to managing merchant-funded credit.

Public Instance Methods

give(give_credit_request) click to toggle source
# File lib/levelup/endpoints/merchant_funded_credits.rb, line 5
def give(give_credit_request)
  build_request(give_credit_request, Requests::GiveMerchantCredit).
    send_to_api(:post, endpoint_path)
end

Private Instance Methods

path() click to toggle source
# File lib/levelup/endpoints/merchant_funded_credits.rb, line 12
def path
  'merchant_funded_credits'
end