Module: PayPro::Operations::Creatable
- Included in:
- Endpoints::Customers, Endpoints::InstallmentPlans, Endpoints::Mandates, Endpoints::Payments, Endpoints::Subscriptions, Endpoints::Webhooks
- Defined in:
- lib/pay_pro/operations/creatable.rb
Instance Method Summary collapse
Instance Method Details
#create(body = {}, **options) ⇒ Object
6 7 8 |
# File 'lib/pay_pro/operations/creatable.rb', line 6 def create(body = {}, **) api_request(method: 'post', uri: resource_url, body: body.to_json, options: ) end |