def update(attributes)
      response = JSON.parse(@client.patch("companies/#{attributes[:id]}", attributes).body)
      Promisepay::Company.new(@client, response['companies'])
    end
def update(attributes)
      response = JSON.parse(@client.patch("companies/#{attributes[:id]}", attributes).body)
      Promisepay::Company.new(@client, response['companies'])
    end
Update a company for a user

 @see https://reference.promisepay.com/#update-company

 @param attributes [Hash] Company's attributes.

 @return [Promisepay::Company]