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