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