nationbuilder-rb 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/VERSION +1 -1
- data/lib/api_spec/lib/api_spec/specs/page_attachments.rb +1 -1
- data/lib/api_spec/spec.json +1 -1
- data/lib/nationbuilder/client.rb +2 -1
- data/nationbuilder-rb.gemspec +2 -3
- data/spec/fixtures/delete.yml +33 -30
- data/spec/fixtures/paginated_get_page2.yml +46 -205
- data/spec/fixtures/paginated_get_page2_with_limit.yml +40 -130
- data/spec/fixtures/paginated_get_page3.yml +42 -193
- data/spec/fixtures/parametered_get.yml +47 -59
- data/spec/fixtures/parametered_post.yml +38 -37
- data/spec/lib/nationbuilder/client_spec.rb +2 -2
- data/spec/lib/nationbuilder/paginator_spec.rb +1 -1
- metadata +2 -2
@@ -2,17 +2,17 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://organizeralexandreschmitt.nationbuilder.com/api/v1/sites/organizeralexandreschmitt/pages/basic_pages?access_token=
|
5
|
+
uri: https://organizeralexandreschmitt.nationbuilder.com/api/v1/sites/organizeralexandreschmitt/pages/basic_pages?access_token=03c22256c06ed11f6bee83673addf26e02a86caa1a5127f4e0815be7223fe4a3&limit=11
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- HTTPClient/1.0 (2.
|
11
|
+
- HTTPClient/1.0 (2.7.0.1, ruby 2.1.6 (2015-04-13))
|
12
12
|
Accept:
|
13
13
|
- application/json
|
14
14
|
Date:
|
15
|
-
-
|
15
|
+
- Wed, 23 Nov 2016 19:16:54 GMT
|
16
16
|
Content-Type:
|
17
17
|
- application/json
|
18
18
|
response:
|
@@ -21,34 +21,27 @@ http_interactions:
|
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
23
|
Server:
|
24
|
-
-
|
25
|
-
Date:
|
26
|
-
- Sat, 15 Aug 2015 04:55:44 GMT
|
24
|
+
- Apache/2.4.7 (Ubuntu)
|
27
25
|
Content-Type:
|
28
|
-
- application/json
|
29
|
-
Transfer-Encoding:
|
30
|
-
- chunked
|
31
|
-
Connection:
|
32
|
-
- keep-alive
|
33
|
-
Set-Cookie:
|
34
|
-
- __cfduid=d436e5bbcd2561efc7c53accefbc5a83e1439614544; expires=Sun, 14-Aug-16
|
35
|
-
04:55:44 GMT; path=/; domain=.nationbuilder.com; HttpOnly
|
36
|
-
Cache-Control:
|
37
|
-
- max-age=0, private, must-revalidate
|
26
|
+
- application/json; charset=utf-8
|
38
27
|
Etag:
|
39
|
-
- W/"
|
28
|
+
- W/"709a1f317fbb097ab1029fcba5e8f8c1-gzip"
|
40
29
|
Nation-Ratelimit-Limit:
|
41
|
-
-
|
30
|
+
- '999999'
|
42
31
|
Nation-Ratelimit-Remaining:
|
43
|
-
- '
|
32
|
+
- '999999'
|
44
33
|
Nation-Ratelimit-Reset:
|
45
|
-
- '
|
34
|
+
- '1479945600'
|
46
35
|
Status:
|
47
36
|
- 200 OK
|
48
37
|
Vary:
|
49
38
|
- Accept-Encoding
|
39
|
+
X-Content-Type-Options:
|
40
|
+
- nosniff
|
41
|
+
X-Frame-Options:
|
42
|
+
- SAMEORIGIN
|
50
43
|
X-Powered-By:
|
51
|
-
- Phusion Passenger
|
44
|
+
- Phusion Passenger Enterprise 5.0.28
|
52
45
|
X-Pulse-Approved:
|
53
46
|
- 'true'
|
54
47
|
X-Rack-Cache:
|
@@ -56,48 +49,43 @@ http_interactions:
|
|
56
49
|
X-Ratelimit-Limit:
|
57
50
|
- 10s
|
58
51
|
X-Ratelimit-Remaining:
|
59
|
-
- '
|
52
|
+
- '98'
|
60
53
|
X-Ratelimit-Reset:
|
61
|
-
- '
|
54
|
+
- '1479928618'
|
62
55
|
X-Request-Id:
|
63
|
-
-
|
56
|
+
- 2b52691c-8ad0-4791-9baa-e74ee75913d9
|
64
57
|
X-Runtime:
|
65
|
-
- '0.
|
66
|
-
X-
|
67
|
-
-
|
68
|
-
|
69
|
-
-
|
70
|
-
|
71
|
-
-
|
58
|
+
- '0.127156'
|
59
|
+
X-Xss-Protection:
|
60
|
+
- 1; mode=block
|
61
|
+
Content-Length:
|
62
|
+
- '3187'
|
63
|
+
Expires:
|
64
|
+
- Wed, 23 Nov 2016 19:16:54 GMT
|
65
|
+
Cache-Control:
|
66
|
+
- max-age=0, no-cache, no-store
|
67
|
+
Pragma:
|
68
|
+
- no-cache
|
69
|
+
Date:
|
70
|
+
- Wed, 23 Nov 2016 19:16:54 GMT
|
71
|
+
Connection:
|
72
|
+
- keep-alive
|
73
|
+
Set-Cookie:
|
74
|
+
- _cookies_enabled=1479928614; path=/
|
72
75
|
body:
|
73
76
|
encoding: UTF-8
|
74
|
-
string: '{"results":[{"slug":"
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
-
|
81
|
-
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
cat who is aiding productivity:\u003C/p\u003E\r\n\u003Cp\u003Ehttps://www.youtube.com/watch?v=TmAjceTCW2A\u003C/p\u003E"},{"slug":"data_download","path":"/data_download","status":"published","site_slug":"organizeralexandreschmitt","name":"Data
|
87
|
-
download","headline":"Data download","title":"Data download - Matt''s General
|
88
|
-
Store","excerpt":null,"author_id":1,"published_at":"2014-11-06T22:31:00Z","external_id":null,"tags":[],"id":44,"content":null},{"slug":"123contactform","path":"/123contactform","status":"published","site_slug":"organizeralexandreschmitt","name":"123contactform","headline":"123contactform","title":"123contactform
|
89
|
-
- Matt''s General Store","excerpt":null,"author_id":1,"published_at":"2014-11-05T22:59:00Z","external_id":null,"tags":[],"id":42,"content":null},{"slug":"liquid_email_example","path":"/liquid_email_example","status":"published","site_slug":"organizeralexandreschmitt","name":"Liquid
|
90
|
-
Use in Emails","headline":"Liquid Use in Emails","title":"Liquid Use in Emails
|
91
|
-
- Matt''s General Store","excerpt":"Use of liquid is limited to just a few
|
92
|
-
variables in an email blast.","author_id":103485,"published_at":"2014-08-20T21:15:57Z","external_id":null,"tags":[],"id":30,"content":""},{"slug":"liquid_examples","path":"/liquid_examples","status":"published","site_slug":"organizeralexandreschmitt","name":"Liquid
|
93
|
-
examples","headline":"Liquid examples","title":"Liquid examples - Matt''s
|
94
|
-
General Store","excerpt":"","author_id":79278,"published_at":"2014-08-20T22:07:07Z","external_id":null,"tags":[],"id":29,"content":"\u003Cp\u003EHere
|
95
|
-
is the content you''ll see as just anyone viewing the page - but when you
|
96
|
-
log in, magic happens. If you''re a member, more magic happens, all thanks
|
97
|
-
to liquid!\u003C/p\u003E\r\n\u003Cp\u003E\u003Cimg style=\"display: block;
|
98
|
-
margin-left: auto; margin-right: auto;\" src=\"http://img1.wikia.nocookie.net/__cb20140608053037/glee/images/e/e9/I-Love-Magic.gif\"
|
99
|
-
alt=\"\"\u003E\u003C/p\u003E"},{"slug":"cheat_sheet","path":"/cheat_sheet","status":"published","site_slug":"organizeralexandreschmitt","name":"Cheat
|
100
|
-
sheet","headline":"Cheat sheet","title":"Cheat sheet - Matt''s General Store","excerpt":null,"author_id":79278,"published_at":"2014-08-20T20:50:44Z","external_id":null,"tags":[],"id":28,"content":null}],"next":"/api/v1/sites/organizeralexandreschmitt/pages/basic_pages?__nonce=q_3tIGyS1skKRIUGIyeWUQ\u0026__token=AFBYnsk4zCcWNFJaOc1xN74YBbWJHwkF8DGqVtygMILA\u0026limit=11","prev":null}'
|
77
|
+
string: '{"results":[{"slug":"basic_23","path":"/basic_23","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
|
78
|
+
23","headline":"Basic 23","title":"Basic 23 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":121,"content":null},{"slug":"basic_22","path":"/basic_22","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
|
79
|
+
22","headline":"Basic 22","title":"Basic 22 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":120,"content":null},{"slug":"basic_21","path":"/basic_21","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
|
80
|
+
21","headline":"Basic 21","title":"Basic 21 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":119,"content":null},{"slug":"basic_20","path":"/basic_20","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
|
81
|
+
20","headline":"Basic 20","title":"Basic 20 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":118,"content":null},{"slug":"basic_19","path":"/basic_19","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
|
82
|
+
19","headline":"Basic 19","title":"Basic 19 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":117,"content":null},{"slug":"basic_18","path":"/basic_18","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
|
83
|
+
18","headline":"Basic 18","title":"Basic 18 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":116,"content":null},{"slug":"basic_17","path":"/basic_17","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
|
84
|
+
17","headline":"Basic 17","title":"Basic 17 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":115,"content":null},{"slug":"basic_16","path":"/basic_16","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
|
85
|
+
16","headline":"Basic 16","title":"Basic 16 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":114,"content":null},{"slug":"basic_15","path":"/basic_15","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
|
86
|
+
15","headline":"Basic 15","title":"Basic 15 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":113,"content":null},{"slug":"basic_14","path":"/basic_14","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
|
87
|
+
14","headline":"Basic 14","title":"Basic 14 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":112,"content":null},{"slug":"basic_13","path":"/basic_13","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
|
88
|
+
13","headline":"Basic 13","title":"Basic 13 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":111,"content":null}],"next":"/api/v1/sites/organizeralexandreschmitt/pages/basic_pages?__nonce=rRTZyJ1Q1DTwfydcPslJKQ\u0026__token=ADkN8CRnANjq04HdDFL4YXS8ACHTkhch-5eyGVn-SpAN\u0026limit=11","prev":null}'
|
101
89
|
http_version:
|
102
|
-
recorded_at:
|
90
|
+
recorded_at: Wed, 23 Nov 2016 19:16:54 GMT
|
103
91
|
recorded_with: VCR 2.9.3
|
@@ -2,17 +2,17 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://organizeralexandreschmitt.nationbuilder.com/api/v1/people?access_token=
|
5
|
+
uri: https://organizeralexandreschmitt.nationbuilder.com/api/v1/people?access_token=03c22256c06ed11f6bee83673addf26e02a86caa1a5127f4e0815be7223fe4a3
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"person":{"email":"bob@example.com","last_name":"Smith","first_name":"Bob"},"access_token":"
|
8
|
+
string: '{"person":{"email":"bob@example.com","last_name":"Smith","first_name":"Bob"},"access_token":"03c22256c06ed11f6bee83673addf26e02a86caa1a5127f4e0815be7223fe4a3"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- HTTPClient/1.0 (2.
|
11
|
+
- HTTPClient/1.0 (2.7.0.1, ruby 2.1.6 (2015-04-13))
|
12
12
|
Accept:
|
13
13
|
- application/json
|
14
14
|
Date:
|
15
|
-
-
|
15
|
+
- Wed, 23 Nov 2016 19:16:54 GMT
|
16
16
|
Content-Type:
|
17
17
|
- application/json
|
18
18
|
response:
|
@@ -21,34 +21,25 @@ http_interactions:
|
|
21
21
|
message: Created
|
22
22
|
headers:
|
23
23
|
Server:
|
24
|
-
-
|
25
|
-
Date:
|
26
|
-
- Sat, 15 Aug 2015 04:45:32 GMT
|
24
|
+
- Apache/2.4.7 (Ubuntu)
|
27
25
|
Content-Type:
|
28
|
-
- application/json
|
29
|
-
Transfer-Encoding:
|
30
|
-
- chunked
|
31
|
-
Connection:
|
32
|
-
- keep-alive
|
33
|
-
Set-Cookie:
|
34
|
-
- __cfduid=d68d0b187d1375c605cfabfa3a27dc91e1439613931; expires=Sun, 14-Aug-16
|
35
|
-
04:45:31 GMT; path=/; domain=.nationbuilder.com; HttpOnly
|
36
|
-
Cache-Control:
|
37
|
-
- max-age=0, private, must-revalidate
|
26
|
+
- application/json; charset=utf-8
|
38
27
|
Etag:
|
39
|
-
- W/"
|
28
|
+
- W/"b6d45f34158428614bbb946bfc528007"
|
40
29
|
Nation-Ratelimit-Limit:
|
41
|
-
-
|
30
|
+
- '999999'
|
42
31
|
Nation-Ratelimit-Remaining:
|
43
|
-
- '
|
32
|
+
- '999999'
|
44
33
|
Nation-Ratelimit-Reset:
|
45
|
-
- '
|
34
|
+
- '1479945600'
|
46
35
|
Status:
|
47
36
|
- 201 Created
|
48
|
-
|
49
|
-
-
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
X-Frame-Options:
|
40
|
+
- SAMEORIGIN
|
50
41
|
X-Powered-By:
|
51
|
-
- Phusion Passenger
|
42
|
+
- Phusion Passenger Enterprise 5.0.28
|
52
43
|
X-Pulse-Approved:
|
53
44
|
- 'true'
|
54
45
|
X-Rack-Cache:
|
@@ -56,23 +47,33 @@ http_interactions:
|
|
56
47
|
X-Ratelimit-Limit:
|
57
48
|
- 10s
|
58
49
|
X-Ratelimit-Remaining:
|
59
|
-
- '
|
50
|
+
- '97'
|
60
51
|
X-Ratelimit-Reset:
|
61
|
-
- '
|
52
|
+
- '1479928618'
|
62
53
|
X-Request-Id:
|
63
|
-
-
|
54
|
+
- c86e279e-27c3-4271-8f3a-9a6873e44c4f
|
64
55
|
X-Runtime:
|
65
|
-
- '0.
|
66
|
-
X-
|
67
|
-
-
|
68
|
-
|
69
|
-
-
|
70
|
-
|
71
|
-
-
|
56
|
+
- '0.632973'
|
57
|
+
X-Xss-Protection:
|
58
|
+
- 1; mode=block
|
59
|
+
Content-Length:
|
60
|
+
- '5448'
|
61
|
+
Expires:
|
62
|
+
- Wed, 23 Nov 2016 19:16:55 GMT
|
63
|
+
Cache-Control:
|
64
|
+
- max-age=0, no-cache, no-store
|
65
|
+
Pragma:
|
66
|
+
- no-cache
|
67
|
+
Date:
|
68
|
+
- Wed, 23 Nov 2016 19:16:55 GMT
|
69
|
+
Connection:
|
70
|
+
- keep-alive
|
71
|
+
Set-Cookie:
|
72
|
+
- _cookies_enabled=1479928615; path=/
|
72
73
|
body:
|
73
74
|
encoding: UTF-8
|
74
|
-
string: '{"person":{"birthdate":null,"city_district":null,"civicrm_id":null,"county_district":null,"county_file_id":null,"created_at":"
|
75
|
-
Smith","home_address":null,"import_id":null,"inferred_party":null,"inferred_support_level":null,"invoice_payments_amount_in_cents":
|
75
|
+
string: '{"person":{"birthdate":null,"city_district":null,"civicrm_id":null,"county_district":null,"county_file_id":null,"created_at":"2016-11-23T19:16:55Z","datatrust_id":null,"do_not_call":false,"do_not_contact":false,"dw_id":null,"email":"bob@example.com","email_opt_in":true,"employer":null,"external_id":null,"federal_district":null,"fire_district":null,"first_name":"Bob","has_facebook":false,"id":278882,"is_twitter_follower":false,"is_volunteer":false,"judicial_district":null,"labour_region":null,"last_name":"Smith","linkedin_id":null,"mobile":null,"mobile_opt_in":true,"nbec_guid":null,"ngp_id":null,"note":null,"occupation":null,"party":null,"pf_strat_id":null,"phone":null,"precinct_id":null,"primary_address":null,"profile_image_url_ssl":"https://d3n8a8pro7vhmx.cloudfront.net/assets/icons/buddy.png","recruiter_id":null,"rnc_id":null,"rnc_regid":null,"salesforce_id":null,"school_district":null,"school_sub_district":null,"sex":null,"signup_type":0,"state_file_id":null,"state_lower_district":null,"state_upper_district":null,"support_level":null,"supranational_district":null,"tags":[],"twitter_id":null,"twitter_name":null,"updated_at":"2016-11-23T19:16:55Z","van_id":null,"village_district":null,"ward":null,"work_phone_number":null,"active_customer_expires_at":null,"active_customer_started_at":null,"author":null,"author_id":null,"auto_import_id":null,"availability":null,"ballots":[],"banned_at":null,"billing_address":null,"bio":null,"call_status_id":null,"call_status_name":null,"capital_amount_in_cents":0,"children_count":0,"church":null,"city_sub_district":null,"closed_invoices_amount_in_cents":null,"closed_invoices_count":null,"contact_status_id":null,"contact_status_name":null,"could_vote_status":false,"demo":null,"donations_amount_in_cents":0,"donations_amount_this_cycle_in_cents":0,"donations_count":0,"donations_count_this_cycle":0,"donations_pledged_amount_in_cents":0,"donations_raised_amount_in_cents":0,"donations_raised_amount_this_cycle_in_cents":0,"donations_raised_count":0,"donations_raised_count_this_cycle":0,"donations_to_raise_amount_in_cents":0,"email1":"bob@example.com","email1_is_bad":false,"email2":null,"email2_is_bad":false,"email3":null,"email3_is_bad":false,"email4":null,"email4_is_bad":false,"emails":[{"email_address":"bob@example.com","email_number":1,"is_bad":false,"is_primary":true}],"ethnicity":null,"facebook_address":null,"facebook_profile_url":null,"facebook_updated_at":null,"facebook_username":null,"fax_number":null,"federal_donotcall":false,"first_donated_at":null,"first_fundraised_at":null,"first_invoice_at":null,"first_prospect_at":null,"first_recruited_at":null,"first_supporter_at":"2016-11-23T19:16:55Z","first_volunteer_at":null,"full_name":"Bob
|
76
|
+
Smith","home_address":null,"import_id":null,"inferred_party":null,"inferred_support_level":null,"invoice_payments_amount_in_cents":0,"invoice_payments_referred_amount_in_cents":0,"invoices_amount_in_cents":null,"invoices_count":null,"is_absentee_voter":null,"is_active_voter":null,"is_deceased":false,"is_donor":false,"is_dropped_from_file":null,"is_early_voter":null,"is_fundraiser":false,"is_ignore_donation_limits":false,"is_leaderboardable":true,"is_mobile_bad":false,"is_permanent_absentee_voter":null,"is_possible_duplicate":false,"is_profile_private":false,"is_profile_searchable":true,"is_prospect":false,"is_supporter":true,"is_survey_question_private":false,"language":null,"last_call_id":null,"last_contacted_at":null,"last_contacted_by":null,"last_donated_at":null,"last_fundraised_at":null,"last_invoice_at":null,"last_rule_violation_at":null,"legal_name":null,"locale":null,"mailing_address":null,"marital_status":null,"media_market_name":null,"meetup_id":null,"meetup_address":null,"membership_expires_at":null,"membership_level_name":null,"membership_started_at":null,"middle_name":null,"mobile_normalized":null,"nbec_precinct_code":null,"nbec_precinct":null,"note_updated_at":null,"outstanding_invoices_amount_in_cents":null,"outstanding_invoices_count":null,"overdue_invoices_count":0,"page_slug":null,"parent":null,"parent_id":null,"party_member":null,"phone_normalized":null,"phone_time":null,"precinct_code":null,"precinct_name":null,"prefix":null,"previous_party":null,"primary_email_id":1,"priority_level":null,"priority_level_changed_at":null,"profile_content":null,"profile_content_html":null,"profile_headline":null,"received_capital_amount_in_cents":0,"recruiter":null,"recruits_count":0,"registered_address":null,"registered_at":null,"religion":null,"rule_violations_count":0,"signup_sources":[],"spent_capital_amount_in_cents":0,"submitted_address":null,"subnations":[],"suffix":null,"support_level_changed_at":null,"support_probability_score":null,"township":null,"turnout_probability_score":null,"twitter_address":null,"twitter_description":null,"twitter_followers_count":null,"twitter_friends_count":null,"twitter_location":null,"twitter_login":null,"twitter_updated_at":null,"twitter_website":null,"unsubscribed_at":null,"user_submitted_address":null,"username":null,"voter_updated_at":null,"warnings_count":0,"website":null,"work_address":null,"bag_preference":null,"do_you_drive_a_fork_lift":null,"have_you_been_involved_in_an_election_campaign_before_":null,"sub_branch":null,"sams_custom_field":null,"mrow":null,"headshot_url":null,"university":null,"membership_number":null,"number":null,"check":null,"industry_name":null,"yes":null,"next_election":null,"filing_window":null},"precinct":null}'
|
76
77
|
http_version:
|
77
|
-
recorded_at:
|
78
|
+
recorded_at: Wed, 23 Nov 2016 19:16:55 GMT
|
78
79
|
recorded_with: VCR 2.9.3
|
@@ -4,7 +4,7 @@ describe NationBuilder::Client do
|
|
4
4
|
|
5
5
|
let(:client) do
|
6
6
|
NationBuilder::Client.new('organizeralexandreschmitt',
|
7
|
-
'
|
7
|
+
'03c22256c06ed11f6bee83673addf26e02a86caa1a5127f4e0815be7223fe4a3',
|
8
8
|
retries: 1
|
9
9
|
)
|
10
10
|
end
|
@@ -114,7 +114,7 @@ describe NationBuilder::Client do
|
|
114
114
|
|
115
115
|
it 'should handle a DELETE' do
|
116
116
|
params = {
|
117
|
-
id:
|
117
|
+
id: 278881
|
118
118
|
}
|
119
119
|
|
120
120
|
response = VCR.use_cassette('delete') do
|
@@ -4,7 +4,7 @@ describe NationBuilder::Paginator do
|
|
4
4
|
|
5
5
|
let(:client) do
|
6
6
|
NationBuilder::Client.new('organizeralexandreschmitt',
|
7
|
-
'
|
7
|
+
'03c22256c06ed11f6bee83673addf26e02a86caa1a5127f4e0815be7223fe4a3')
|
8
8
|
end
|
9
9
|
let(:response) do
|
10
10
|
VCR.use_cassette('parametered_get') do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nationbuilder-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Huie
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-11-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httpclient
|