lib/client_success/open_api/contacts.rb
def contact_custom_fields
        resp = get '/contact-custom-fields'
        result = process_response(resp)
        if result.is_a?(Array)
          result.map { |i| Resources::CustomField.new(i) }
        else
          []
        end
      end
# GET /v1/contact-custom-fields
#
# Retrieves all available custom fields for Client Success
# contacts.
#
# @return [Array<Resources::CustomField>]
#
GET /v1/contact-custom-fields
Retrieves all available custom fields for Client Success
contacts.
GET / v1 / contact - custom - fields Retrieves all available custom fields for Client Success contacts .
def contact_custom_fields
        resp = get '/contact-custom-fields'
        result = process_response(resp)
        if result.is_a?(Array)
          result.map { |i| Resources::CustomField.new(i) }
        else
          []
        end
      end
def contact_custom_fields resp = get '/contact-custom-fields' result = process_response ( resp ) if result . is_a? ( Array ) result . map { | i | Resources :: CustomField . new ( i ) } else [ ] end end
GET /v1/contact-custom-fields
Retrieves all available custom fields for Client Success
contacts.
GET / v1 / contact - custom - fields Retrieves all available custom fields for Client Success contacts .
None
Array<Resources::CustomField>