sunlightcongress 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- 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
|