Module: Spaceship::ConnectAPI::Users

Included in:
Spaceship::ConnectAPI
Defined in:
spaceship/lib/spaceship/connect_api/users/users.rb,
spaceship/lib/spaceship/connect_api/users/client.rb

Defined Under Namespace

Classes: Client

Instance Method Summary collapse

Instance Method Details

#get_users(filter: {}, includes: nil, limit: nil, sort: nil) ⇒ Object

users



10
11
12
13
# File 'spaceship/lib/spaceship/connect_api/users/users.rb', line 10

def get_users(filter: {}, includes: nil, limit: nil, sort: nil)
  params = Client.instance.build_params(filter: filter, includes: includes, limit: limit, sort: sort)
  Client.instance.get("users", params)
end