Class: LDA::Resources::Clients
- Inherits:
-
Base
- Object
- Base
- LDA::Resources::Clients
show all
- Defined in:
- lib/lda_gov/resources/clients.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#all_clients(**params) ⇒ Object
18
19
20
|
# File 'lib/lda_gov/resources/clients.rb', line 18
def all_clients(**params)
client.all('clients/', params)
end
|
#each_page(**params) ⇒ Object
14
15
16
|
# File 'lib/lda_gov/resources/clients.rb', line 14
def each_page(**params, &)
client.paginate('clients/', params, &)
end
|
#find(client_id) ⇒ Object
10
11
12
|
# File 'lib/lda_gov/resources/clients.rb', line 10
def find(client_id)
get("clients/#{client_id}/")
end
|
#list(**params) ⇒ Object
6
7
8
|
# File 'lib/lda_gov/resources/clients.rb', line 6
def list(**params)
get('clients/', params)
end
|