sunlightcongress 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/sunlightcongress.rb +2 -0
- metadata +1 -1
data/lib/sunlightcongress.rb
CHANGED
|
@@ -83,6 +83,8 @@ class SunlightCongress
|
|
|
83
83
|
|
|
84
84
|
# Get all events (hearings, votes, bills, amendments, floor updates) for a congressperson and output JSON
|
|
85
85
|
def get_events(name)
|
|
86
|
+
id = legislator_id(name)
|
|
87
|
+
|
|
86
88
|
# Get votes
|
|
87
89
|
votes = JSON.parse(get_votes(name))
|
|
88
90
|
votearray = Array.new
|