congress_forms 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.env.example +14 -0
- data/.gitignore +14 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +684 -0
- data/README.md +152 -0
- data/Rakefile +6 -0
- data/bin/congress_forms +100 -0
- data/bin/console +9 -0
- data/bin/setup +8 -0
- data/congress_forms.gemspec +30 -0
- data/lib/congress_forms/actions.rb +160 -0
- data/lib/congress_forms/cwc_form.rb +62 -0
- data/lib/congress_forms/form.rb +36 -0
- data/lib/congress_forms/repo.rb +95 -0
- data/lib/congress_forms/version.rb +3 -0
- data/lib/congress_forms/web_form.rb +102 -0
- data/lib/congress_forms.rb +85 -0
- data/lib/cwc/bad_request.rb +13 -0
- data/lib/cwc/client.rb +171 -0
- data/lib/cwc/extensions/hash.rb +20 -0
- data/lib/cwc/fixtures.rb +102 -0
- data/lib/cwc/message.rb +184 -0
- data/lib/cwc/office.rb +29 -0
- data/lib/cwc/topic_codes.rb +37 -0
- data/lib/cwc.rb +2 -0
- metadata +201 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 511a14df45a39ea5d0ec33cc0508b301f43ebdf9
|
4
|
+
data.tar.gz: 6c94d1b1e1cee5254c7079ca890638ce757230e2
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f615b6a22e8ec1b9ce816c0b54c89cdc5a28741cb2d190dbb5b39430669b7f171606da8ed1fa0c96181ea246b0d858bd37a41460ec881602489b741c4c9553e5
|
7
|
+
data.tar.gz: ba60c49d93426e5674ebd59e41159601502b2d10dbd799b7d66febf1b708de8cca75e136730f998d41f456b61fefe23986a934723fd5f1f16b3f3713d200fecf
|
data/.env.example
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
CWC_API_KEY=abc123
|
2
|
+
CWC_HOST=https://cwc.house.gov/
|
3
|
+
CWC_DELIVERY_AGENT=Agent
|
4
|
+
CWC_DELIVERY_AGENT_ACK_EMAIL=email@example.org
|
5
|
+
CWC_DELIVERY_AGENT_CONTACT_NAME=Name
|
6
|
+
CWC_DELIVERY_AGENT_CONTACT_EMAIL=email@example.org
|
7
|
+
CWC_DELIVERY_AGENT_CONTACT_PHONE=555-555-5555
|
8
|
+
|
9
|
+
# Optional Sentry configuration.
|
10
|
+
SENTRY_DSN=
|
11
|
+
|
12
|
+
# Save screenshots of form errors.
|
13
|
+
CONGRESS_FORMS_SCREENSHOT_LOCATION=
|
14
|
+
SERVER_HOST=
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED