mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-05-18 00:00:57 -04:00
17 lines
298 B
Ruby
17 lines
298 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Stripe
|
|
module APIOperations
|
|
module Create
|
|
def create(params = {}, opts = {})
|
|
request_stripe_object(
|
|
method: :post,
|
|
path: resource_url,
|
|
params: params,
|
|
opts: opts
|
|
)
|
|
end
|
|
end
|
|
end
|
|
end
|