Class: Levelup::Endpoints::MerchantFundedCredits

Inherits:
Base
  • Object
show all
Defined in:
lib/levelup/endpoints/merchant_funded_credits.rb

Overview

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

Instance Method Summary collapse

Instance Method Details

#give(give_credit_request) ⇒ Object


5
6
7
8
# 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