Method: Unit::Customer.update_business_customer
- Defined in:
- lib/unit/models/customer/customer.rb
.update_business_customer(customer_id:, address: nil, phone: nil, contact: nil, authorized_users: nil, dba: nil, tags: nil) ⇒ UnitResponse, UnitError
Update business customer by calling Unit’s API
41 42 43 44 |
# File 'lib/unit/models/customer/customer.rb', line 41 def update_business_customer(customer_id:, address: nil, phone: nil, contact: nil, authorized_users: nil, dba: nil, tags: nil) request = PatchBusinessCustomerRequest.new(customer_id, address, phone, contact, , dba, ) Unit::Resource::CustomerResource.update(request) end |