class Levelup::Requests::GiveMerchantCredit

Represents a request to grant merchant-funded credit to a user. Merchant access token must have the give_merchant_funded_credit permission.

Attributes

email[RW]
value_amount[RW]

Public Instance Methods

body() click to toggle source
# File lib/levelup/requests/give_merchant_credit.rb, line 9
def body
  { merchant_funded_credit: to_hash }
end
response_from_hash(hash) click to toggle source
# File lib/levelup/requests/give_merchant_credit.rb, line 13
def response_from_hash(hash)
  Responses::Success.new
end