Module: PayPro::Operations::Updatable

Included in:
Customer, InstallmentPlan, Subscription, Webhook
Defined in:
lib/pay_pro/operations/updatable.rb

Instance Method Summary collapse

Instance Method Details

#update(body = {}, **options) ⇒ Object



6
7
8
# File 'lib/pay_pro/operations/updatable.rb', line 6

def update(body = {}, **options)
  api_request(method: 'patch', uri: resource_url, body: body.to_json, options: options)
end