Class: Stripe::Treasury::ReceivedCredit::TestHelpers

Inherits:
APIResourceTestHelpers show all
Defined in:
lib/stripe/resources/treasury/received_credit.rb

Constant Summary collapse

RESOURCE_CLASS =
ReceivedCredit

Class Method Summary collapse

Methods inherited from APIResourceTestHelpers

custom_method, #initialize, resource_url, #resource_url

Methods included from APIOperations::Request

included

Constructor Details

This class inherits a constructor from Stripe::APIResourceTestHelpers

Class Method Details

.create(params = {}, opts = {}) ⇒ Object


18
19
20
21
22
23
24
25
# File 'lib/stripe/resources/treasury/received_credit.rb', line 18

def self.create(params = {}, opts = {})
  request_stripe_object(
    method: :post,
    path: "/v1/test_helpers/treasury/received_credits",
    params: params,
    opts: opts
  )
end