nationbuilder-rb 1.3.5 → 1.3.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -119,7 +119,7 @@
119
119
  "methods": [
120
120
  {
121
121
  "MethodName": "Index",
122
- "Synopsis": "Shows a list of blog's posts",
122
+ "Synopsis": "Shows a list of posts for a blog",
123
123
  "HTTPMethod": "GET",
124
124
  "URI": "/sites/:site_slug/pages/blogs/:id/posts",
125
125
  "parameters": [
@@ -781,7 +781,7 @@
781
781
  "Required": "Y",
782
782
  "Default": "{}",
783
783
  "Type": "json",
784
- "Description": "JSON representation of a donation"
784
+ "Description": "a JSON representation of a donation"
785
785
  }
786
786
  ]
787
787
  },
@@ -796,7 +796,7 @@
796
796
  "Required": "Y",
797
797
  "Default": null,
798
798
  "Type": "int",
799
- "Description": "The donation's ID"
799
+ "Description": "the donation's ID"
800
800
  },
801
801
  {
802
802
  "Name": "body",
@@ -818,7 +818,7 @@
818
818
  "Required": "Y",
819
819
  "Default": null,
820
820
  "Type": "int",
821
- "Description": "The donation's ID"
821
+ "Description": "the donation's ID"
822
822
  }
823
823
  ]
824
824
  }
@@ -909,7 +909,7 @@
909
909
  "Required": "Y",
910
910
  "Default": null,
911
911
  "Type": "int",
912
- "Description": "the ID of the event"
912
+ "Description": "the event's ID"
913
913
  }
914
914
  ]
915
915
  },
@@ -953,7 +953,7 @@
953
953
  "Required": "Y",
954
954
  "Default": null,
955
955
  "Type": "int",
956
- "Description": "The event's ID"
956
+ "Description": "the event's ID"
957
957
  },
958
958
  {
959
959
  "Name": "body",
@@ -982,7 +982,7 @@
982
982
  "Required": "Y",
983
983
  "Default": null,
984
984
  "Type": "int",
985
- "Description": "The event's ID"
985
+ "Description": "the event's ID"
986
986
  }
987
987
  ]
988
988
  },
@@ -1004,7 +1004,7 @@
1004
1004
  "Required": "Y",
1005
1005
  "Default": null,
1006
1006
  "Type": "int",
1007
- "Description": "The event's ID"
1007
+ "Description": "the event's ID"
1008
1008
  },
1009
1009
  {
1010
1010
  "Name": "__token",
@@ -1047,7 +1047,7 @@
1047
1047
  "Required": "Y",
1048
1048
  "Default": null,
1049
1049
  "Type": "int",
1050
- "Description": "The event's ID"
1050
+ "Description": "the event's ID"
1051
1051
  },
1052
1052
  {
1053
1053
  "Name": "body",
@@ -1076,14 +1076,14 @@
1076
1076
  "Required": "Y",
1077
1077
  "Default": null,
1078
1078
  "Type": "int",
1079
- "Description": "The event's ID"
1079
+ "Description": "the event's ID"
1080
1080
  },
1081
1081
  {
1082
1082
  "Name": "rsvp_id",
1083
1083
  "Required": "Y",
1084
1084
  "Default": null,
1085
1085
  "Type": "int",
1086
- "Description": "The RSVP's ID"
1086
+ "Description": "the RSVP's ID"
1087
1087
  },
1088
1088
  {
1089
1089
  "Name": "body",
@@ -1150,11 +1150,18 @@
1150
1150
  "name": "Exports",
1151
1151
  "methods": [
1152
1152
  {
1153
- "MethodName": "Create List",
1154
- "Synopsis": "Creates a list export with the provided data",
1153
+ "MethodName": "Export List",
1154
+ "Synopsis": "Starts an export of a list",
1155
1155
  "HTTPMethod": "POST",
1156
- "URI": "/list/:list_id/exports",
1156
+ "URI": "/lists/:list_id/exports",
1157
1157
  "parameters": [
1158
+ {
1159
+ "Name": "list_id",
1160
+ "Required": "Y",
1161
+ "Default": null,
1162
+ "Type": "int",
1163
+ "Description": "ID of the list to export"
1164
+ },
1158
1165
  {
1159
1166
  "Name": "body",
1160
1167
  "Required": "Y",
@@ -1239,7 +1246,7 @@
1239
1246
  "Required": "Y",
1240
1247
  "Default": null,
1241
1248
  "Type": "int",
1242
- "Description": "The list's ID"
1249
+ "Description": "the list's ID"
1243
1250
  },
1244
1251
  {
1245
1252
  "Name": "__token",
@@ -1275,7 +1282,7 @@
1275
1282
  "Required": "Y",
1276
1283
  "Default": "{}",
1277
1284
  "Type": "json",
1278
- "Description": "JSON representation of the list to create"
1285
+ "Description": "a JSON representation of the list to create"
1279
1286
  }
1280
1287
  ]
1281
1288
  },
@@ -1290,7 +1297,7 @@
1290
1297
  "Required": "Y",
1291
1298
  "Default": null,
1292
1299
  "Type": "int",
1293
- "Description": "The list's ID"
1300
+ "Description": "the list's ID"
1294
1301
  },
1295
1302
  {
1296
1303
  "Name": "body",
@@ -1312,7 +1319,7 @@
1312
1319
  "Required": "Y",
1313
1320
  "Default": null,
1314
1321
  "Type": "int",
1315
- "Description": "The list's ID"
1322
+ "Description": "the list's ID"
1316
1323
  }
1317
1324
  ]
1318
1325
  },
@@ -1327,7 +1334,7 @@
1327
1334
  "Required": "Y",
1328
1335
  "Default": null,
1329
1336
  "Type": "int",
1330
- "Description": "The ID of the list"
1337
+ "Description": "the list's ID"
1331
1338
  },
1332
1339
  {
1333
1340
  "Name": "body",
@@ -1349,7 +1356,7 @@
1349
1356
  "Required": "Y",
1350
1357
  "Default": null,
1351
1358
  "Type": "int",
1352
- "Description": "The ID of the list"
1359
+ "Description": "the list's ID"
1353
1360
  },
1354
1361
  {
1355
1362
  "Name": "body",
@@ -1371,14 +1378,14 @@
1371
1378
  "Required": "Y",
1372
1379
  "Default": null,
1373
1380
  "Type": "int",
1374
- "Description": "The ID of the list"
1381
+ "Description": "the list's ID"
1375
1382
  },
1376
1383
  {
1377
1384
  "Name": "person_id",
1378
1385
  "Required": "Y",
1379
1386
  "Default": null,
1380
1387
  "Type": "int",
1381
- "Description": "The ID of the person to add to the list"
1388
+ "Description": "the ID of the person to add to the list"
1382
1389
  }
1383
1390
  ]
1384
1391
  },
@@ -1393,14 +1400,14 @@
1393
1400
  "Required": "Y",
1394
1401
  "Default": null,
1395
1402
  "Type": "int",
1396
- "Description": "The ID of the list"
1403
+ "Description": "the list's ID"
1397
1404
  },
1398
1405
  {
1399
1406
  "Name": "person_id",
1400
1407
  "Required": "Y",
1401
1408
  "Default": null,
1402
1409
  "Type": "int",
1403
- "Description": "The ID of the person to drop from the list"
1410
+ "Description": "the ID of the person to drop from the list"
1404
1411
  }
1405
1412
  ]
1406
1413
  },
@@ -1415,14 +1422,14 @@
1415
1422
  "Required": "Y",
1416
1423
  "Default": null,
1417
1424
  "Type": "int",
1418
- "Description": "The ID of the list"
1425
+ "Description": "the list's ID"
1419
1426
  },
1420
1427
  {
1421
1428
  "Name": "tag",
1422
1429
  "Required": "Y",
1423
1430
  "Default": null,
1424
1431
  "Type": "string",
1425
- "Description": "The name of the tag to use"
1432
+ "Description": "the name of the tag to use"
1426
1433
  }
1427
1434
  ]
1428
1435
  },
@@ -1437,14 +1444,14 @@
1437
1444
  "Required": "Y",
1438
1445
  "Default": null,
1439
1446
  "Type": "int",
1440
- "Description": "The ID of the list"
1447
+ "Description": "the list's ID"
1441
1448
  },
1442
1449
  {
1443
1450
  "Name": "tag",
1444
1451
  "Required": "Y",
1445
1452
  "Default": null,
1446
1453
  "Type": "string",
1447
- "Description": "The name of the tag to use"
1454
+ "Description": "the name of the tag to use"
1448
1455
  }
1449
1456
  ]
1450
1457
  }
@@ -1464,7 +1471,7 @@
1464
1471
  "Required": "Y",
1465
1472
  "Default": null,
1466
1473
  "Type": "int",
1467
- "Description": "The person's ID"
1474
+ "Description": "the person's ID"
1468
1475
  },
1469
1476
  {
1470
1477
  "Name": "__token",
@@ -1500,7 +1507,7 @@
1500
1507
  "Required": "Y",
1501
1508
  "Default": null,
1502
1509
  "Type": "int",
1503
- "Description": "The person's ID"
1510
+ "Description": "the person's ID"
1504
1511
  },
1505
1512
  {
1506
1513
  "Name": "body",
@@ -1522,7 +1529,7 @@
1522
1529
  "Required": "Y",
1523
1530
  "Default": null,
1524
1531
  "Type": "int",
1525
- "Description": "The person's ID"
1532
+ "Description": "the person's ID"
1526
1533
  },
1527
1534
  {
1528
1535
  "Name": "body",
@@ -1544,14 +1551,14 @@
1544
1551
  "Required": "Y",
1545
1552
  "Default": null,
1546
1553
  "Type": "int",
1547
- "Description": "The person's ID"
1554
+ "Description": "the person's ID"
1548
1555
  },
1549
1556
  {
1550
1557
  "Name": "name",
1551
1558
  "Required": "Y",
1552
1559
  "Default": null,
1553
1560
  "Type": "string",
1554
- "Description": "The name of the membership"
1561
+ "Description": "the name of the membership"
1555
1562
  }
1556
1563
  ]
1557
1564
  }
@@ -1571,14 +1578,14 @@
1571
1578
  "Required": "Y",
1572
1579
  "Default": null,
1573
1580
  "Type": "string",
1574
- "Description": "The slug of the site the page lives on"
1581
+ "Description": "the slug of the site the page lives on"
1575
1582
  },
1576
1583
  {
1577
1584
  "Name": "page_slug",
1578
1585
  "Required": "Y",
1579
1586
  "Default": "1",
1580
1587
  "Type": "string",
1581
- "Description": "The page's slug"
1588
+ "Description": "the page's slug"
1582
1589
  },
1583
1590
  {
1584
1591
  "Name": "__token",
@@ -1614,21 +1621,21 @@
1614
1621
  "Required": "Y",
1615
1622
  "Default": null,
1616
1623
  "Type": "string",
1617
- "Description": "The slug of the site the page lives on"
1624
+ "Description": "the slug of the site the page lives on"
1618
1625
  },
1619
1626
  {
1620
1627
  "Name": "page_slug",
1621
1628
  "Required": "Y",
1622
1629
  "Default": "1",
1623
1630
  "Type": "string",
1624
- "Description": "The page's slug"
1631
+ "Description": "the page's slug"
1625
1632
  },
1626
1633
  {
1627
1634
  "Name": "id",
1628
1635
  "Required": "Y",
1629
1636
  "Default": null,
1630
1637
  "Type": "int",
1631
- "Description": "The ID of the page attachment"
1638
+ "Description": "the ID of the page attachment"
1632
1639
  }
1633
1640
  ]
1634
1641
  },
@@ -1643,21 +1650,21 @@
1643
1650
  "Required": "Y",
1644
1651
  "Default": null,
1645
1652
  "Type": "string",
1646
- "Description": "The slug of the site the page lives on"
1653
+ "Description": "the slug of the site the page lives on"
1647
1654
  },
1648
1655
  {
1649
1656
  "Name": "page_slug",
1650
1657
  "Required": "Y",
1651
1658
  "Default": "1",
1652
1659
  "Type": "string",
1653
- "Description": "The page's slug"
1660
+ "Description": "the page's slug"
1654
1661
  },
1655
1662
  {
1656
1663
  "Name": "body",
1657
1664
  "Required": "Y",
1658
1665
  "Default": "{}",
1659
1666
  "Type": "json",
1660
- "Description": "A JSON representation of the attachment"
1667
+ "Description": "a JSON representation of the attachment"
1661
1668
  }
1662
1669
  ]
1663
1670
  },
@@ -1672,21 +1679,21 @@
1672
1679
  "Required": "Y",
1673
1680
  "Default": null,
1674
1681
  "Type": "string",
1675
- "Description": "The slug of the site the page lives on"
1682
+ "Description": "the slug of the site the page lives on"
1676
1683
  },
1677
1684
  {
1678
1685
  "Name": "page_slug",
1679
1686
  "Required": "Y",
1680
1687
  "Default": "1",
1681
1688
  "Type": "string",
1682
- "Description": "The page's slug"
1689
+ "Description": "the page's slug"
1683
1690
  },
1684
1691
  {
1685
1692
  "Name": "id",
1686
1693
  "Required": "Y",
1687
1694
  "Default": null,
1688
1695
  "Type": "int",
1689
- "Description": "The ID of the page attachment"
1696
+ "Description": "the ID of the page attachment"
1690
1697
  }
1691
1698
  ]
1692
1699
  }
@@ -1992,7 +1999,7 @@
1992
1999
  "Required": "Y",
1993
2000
  "Default": "34.049031,-118.251399",
1994
2001
  "Type": "string",
1995
- "Description": "origin of search in the format \"latitude,longitude\""
2002
+ "Description": "origin of search in the format 'latitude,longitude'"
1996
2003
  },
1997
2004
  {
1998
2005
  "Name": "distance",
@@ -2044,7 +2051,7 @@
2044
2051
  "Required": "Y",
2045
2052
  "Default": null,
2046
2053
  "Type": "int",
2047
- "Description": "The person's ID"
2054
+ "Description": "the person's id"
2048
2055
  }
2049
2056
  ]
2050
2057
  },
@@ -2059,7 +2066,7 @@
2059
2066
  "Required": "Y",
2060
2067
  "Default": null,
2061
2068
  "Type": "int",
2062
- "Description": "the ID of the person"
2069
+ "Description": "the person's id"
2063
2070
  }
2064
2071
  ]
2065
2072
  },
@@ -2074,7 +2081,7 @@
2074
2081
  "Required": "Y",
2075
2082
  "Default": null,
2076
2083
  "Type": "int",
2077
- "Description": "the ID of the person"
2084
+ "Description": "the person's id"
2078
2085
  },
2079
2086
  {
2080
2087
  "Name": "body",
@@ -2096,7 +2103,7 @@
2096
2103
  "Required": "Y",
2097
2104
  "Default": null,
2098
2105
  "Type": "int",
2099
- "Description": "the ID of the person"
2106
+ "Description": "the person's ID"
2100
2107
  },
2101
2108
  {
2102
2109
  "Name": "tag",
@@ -2118,7 +2125,7 @@
2118
2125
  "Required": "Y",
2119
2126
  "Default": null,
2120
2127
  "Type": "int",
2121
- "Description": "the ID of the person"
2128
+ "Description": "the person's ID"
2122
2129
  },
2123
2130
  {
2124
2131
  "Name": "body",
@@ -2140,7 +2147,7 @@
2140
2147
  "Required": "Y",
2141
2148
  "Default": null,
2142
2149
  "Type": "int",
2143
- "Description": "the ID of the person"
2150
+ "Description": "the person's ID"
2144
2151
  },
2145
2152
  {
2146
2153
  "Name": "__token",
@@ -2176,7 +2183,7 @@
2176
2183
  "Required": "Y",
2177
2184
  "Default": null,
2178
2185
  "Type": "int",
2179
- "Description": "the ID of the person"
2186
+ "Description": "the person's ID"
2180
2187
  },
2181
2188
  {
2182
2189
  "Name": "body",
@@ -2198,7 +2205,7 @@
2198
2205
  "Required": "Y",
2199
2206
  "Default": null,
2200
2207
  "Type": "int",
2201
- "Description": "the ID of the person"
2208
+ "Description": "the person's ID"
2202
2209
  },
2203
2210
  {
2204
2211
  "Name": "capital_id",
@@ -2220,7 +2227,7 @@
2220
2227
  "Required": "Y",
2221
2228
  "Default": "{}",
2222
2229
  "Type": "json",
2223
- "Description": "JSON representation of the person to create"
2230
+ "Description": "a JSON representation of the person to create"
2224
2231
  }
2225
2232
  ]
2226
2233
  },
@@ -2235,7 +2242,7 @@
2235
2242
  "Required": "Y",
2236
2243
  "Default": null,
2237
2244
  "Type": "int",
2238
- "Description": "The person's ID"
2245
+ "Description": "the person's ID"
2239
2246
  },
2240
2247
  {
2241
2248
  "Name": "body",
@@ -2287,7 +2294,7 @@
2287
2294
  "Required": "Y",
2288
2295
  "Default": null,
2289
2296
  "Type": "int",
2290
- "Description": "The person's ID"
2297
+ "Description": "the person's ID"
2291
2298
  }
2292
2299
  ]
2293
2300
  },
@@ -2302,14 +2309,14 @@
2302
2309
  "Required": "Y",
2303
2310
  "Default": null,
2304
2311
  "Type": "int",
2305
- "Description": "the ID of the person"
2312
+ "Description": "the person's ID"
2306
2313
  },
2307
2314
  {
2308
2315
  "Name": "body",
2309
2316
  "Required": "Y",
2310
2317
  "Default": null,
2311
2318
  "Type": "json",
2312
- "Description": "JSON representation of the note to create"
2319
+ "Description": "a JSON representation of the note to create"
2313
2320
  }
2314
2321
  ]
2315
2322
  }
@@ -2428,7 +2435,7 @@
2428
2435
  "Required": "Y",
2429
2436
  "Default": "1",
2430
2437
  "Type": "int",
2431
- "Description": "the precinct's id"
2438
+ "Description": "the precinct's ID"
2432
2439
  }
2433
2440
  ]
2434
2441
  },
@@ -2443,7 +2450,7 @@
2443
2450
  "Required": "Y",
2444
2451
  "Default": "{}",
2445
2452
  "Type": "json",
2446
- "Description": "JSON representation of the precinct to create"
2453
+ "Description": "a JSON representation of the precinct to create"
2447
2454
  }
2448
2455
  ]
2449
2456
  },
@@ -2458,7 +2465,7 @@
2458
2465
  "Required": "Y",
2459
2466
  "Default": null,
2460
2467
  "Type": "int",
2461
- "Description": "The precinct's ID"
2468
+ "Description": "the precinct's ID"
2462
2469
  },
2463
2470
  {
2464
2471
  "Name": "body",
@@ -2480,7 +2487,7 @@
2480
2487
  "Required": "Y",
2481
2488
  "Default": null,
2482
2489
  "Type": "int",
2483
- "Description": "The precinct's ID"
2490
+ "Description": "the precinct's ID"
2484
2491
  }
2485
2492
  ]
2486
2493
  }
@@ -2548,7 +2555,7 @@
2548
2555
  "Required": "N",
2549
2556
  "Default": null,
2550
2557
  "Type": "int",
2551
- "Description": "the id for a parent survey"
2558
+ "Description": "the ID for a parent survey"
2552
2559
  },
2553
2560
  {
2554
2561
  "Name": "__token",
@@ -2647,7 +2654,7 @@
2647
2654
  "Required": "Y",
2648
2655
  "Default": null,
2649
2656
  "Type": "json",
2650
- "Description": "a JSON representation of the new survey"
2657
+ "Description": "A JSON representation of the new survey"
2651
2658
  }
2652
2659
  ]
2653
2660
  },
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: nationbuilder-rb 1.3.5 ruby lib
5
+ # stub: nationbuilder-rb 1.3.6 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "nationbuilder-rb"
9
- s.version = "1.3.5"
9
+ s.version = "1.3.6"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["David Huie", "Alexandre Schmitt"]
14
- s.date = "2015-08-20"
14
+ s.date = "2015-11-09"
15
15
  s.description = "A Ruby client to the NationBuilder API"
16
16
  s.email = "schmitt@nationbuilder.com"
17
17
  s.executables = ["nbdoc"]
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.3.5
4
+ version: 1.3.6
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: 2015-08-20 00:00:00.000000000 Z
12
+ date: 2015-11-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httpclient