Class: GovKit::TransparencyData::LobbyingRecord
- Inherits:
-
GovKit::TransparencyDataResource
- Object
- Resource
- GovKit::TransparencyDataResource
- GovKit::TransparencyData::LobbyingRecord
- Defined in:
- lib/gov_kit/transparency_data.rb
Overview
Represents lobbying activity.
See transparencydata.com/api/lobbying/ for complete query options.
Instance Attribute Summary
Attributes inherited from Resource
Class Method Summary collapse
-
.search(ops = {}) ⇒ Object
Search for lobbying records.
Methods inherited from GovKit::TransparencyDataResource
Methods inherited from Resource
#initialize, instantiate, instantiate_collection, parse, #to_md5, #unload
Constructor Details
This class inherits a constructor from GovKit::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class GovKit::Resource
Class Method Details
.search(ops = {}) ⇒ Object
Search for lobbying records.
Example query:
= GovKit::TransparencyData::LobbyingRecord.search( { :per_page => 2 } )
100 101 102 |
# File 'lib/gov_kit/transparency_data.rb', line 100 def self.search(ops = {}) search_for('/lobbying.json', ops) end |