lib/client_success/open_api/clients.rb
def all_clients
        resp = get CLIENT_API_PATH
        result = process_response(resp)
        return [] if result.empty? # In case response is {}
        result.each.map { |c| Resources::Client.new(c) }
      end
# GET /v1/clients
#
# Retrieves all Clients. See:
# http://docs.clientsuccessapi.apiary.io/#reference/clients/clients-collection/list-all-clients
#
# Does not yet support params for assignedCsmId and activeOnly.
#
GET /v1/clients
Retrieves all Clients.

Does not yet support params for assignedCsmId and activeOnly.
GET / v1 / clients Retrieves all Clients . Does not yet support params for assignedCsmId and activeOnly .
def all_clients
        resp = get CLIENT_API_PATH
        result = process_response(resp)
        return [] if result.empty? 
        result.each.map { |c| Resources::Client.new(c) }
      end
def all_clients resp = get CLIENT_API_PATH result = process_response ( resp ) return [ ] if result . empty? result . each . map { | c | Resources :: Client . new ( c ) } end
GET /v1/clients
Retrieves all Clients.
GET / v1 / clients Retrieves all Clients .
# In case response is {}