lib/parliament/decorators/house.rb in parliament-ruby-0.4.1 vs lib/parliament/decorators/house.rb in parliament-ruby-0.5.0
- old
+ new
@@ -17,8 +17,12 @@
end
def seats
respond_to?(:houseHasHouseSeat) ? houseHasHouseSeat : []
end
+
+ def house_incumbencies
+ respond_to?(:houseHasHouseIncumbency) ? houseHasHouseIncumbency : []
+ end
end
end
end