campaign_cash 2.5.1 → 2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -0
- data/lib/campaign_cash/filing.rb +3 -1
- data/lib/campaign_cash/version.rb +1 -1
- metadata +1 -1
data/README.rdoc
CHANGED
@@ -12,6 +12,7 @@ Simple ruby wrapper for portions of The New York Times Campaign Finance API[http
|
|
12
12
|
|
13
13
|
== News
|
14
14
|
|
15
|
+
* April 9, 2013: Version 2.6 released. Added missing attribute accessors to Filing objects.
|
15
16
|
* April 9, 2013: Version 2.5.1 released. Fixed a bug that showed committee_name in Filing objects as nil.
|
16
17
|
* Nov. 13, 2012: Version 2.5 released. Fixes a bug in Filing object attribute assignment.
|
17
18
|
* July 19, 2012: Version 2.4 released. Updated for new API responses and to return integers and floats.
|
data/lib/campaign_cash/filing.rb
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
module CampaignCash
|
2
2
|
class Filing < Base
|
3
3
|
|
4
|
-
attr_reader :committee_name, :date_coverage_from, :amended_uri, :fec_uri, :date_coverage_to, :committee, :report_title, :amended, :date_filed,
|
4
|
+
attr_reader :committee_name, :date_coverage_from, :amended_uri, :fec_uri, :date_coverage_to, :committee, :report_title, :amended, :date_filed,
|
5
|
+
:cycle, :form_type, :original_filing, :original_uri, :paper, :committee_type, :filing_id, :receipts_total, :disbursements_total, :cash_on_hand,
|
6
|
+
:is_amendment
|
5
7
|
|
6
8
|
def initialize(params={})
|
7
9
|
params.each_pair do |k,v|
|