ngp_van 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 49541631c032128c94d612b0934327512578a7f49e0ed7d0c143ffdcd4a9db71
4
- data.tar.gz: 4965a5ac2d4fee4079a605870904745f6a6249fc6d6d4a44a484bc2bb8e33fe1
3
+ metadata.gz: d61c2c95f713e162afdf53cd7432c09dcad9bf51f6d7653cfc0090b4f564da0c
4
+ data.tar.gz: 41bf431db60888614b95f72b830103f4bfd13135ad9414a295ef828ec941af90
5
5
  SHA512:
6
- metadata.gz: 03ab10c4f055ce52c29e9e463a55a52e3fcf6e1ec55fdf52d25b08affd9a7d17e78922df2d783638635c2faedf19d41c9b6f841fbdc72922d39c3fa6ab3a151a
7
- data.tar.gz: a64f5bb442fb98d4be32de10a892fc69536a1e096683e288bde9b61403ba092f69ef31415115b982faa29d5d4dd98729a52d49e0743c50d8b6adf1c31719e13d
6
+ metadata.gz: 4b9021cb804f6dad169e8612a214fca8105f6f90544c6dec4d29b80727824e5c6944f884b1c4bc84952f051251a3923c141c85420f29e8d903064535bdd91075
7
+ data.tar.gz: aa4bde147fb016adfa2bcd96d5d088456546a4d2008c2121fc444c68a23335cfdba995f3f1096c25e03de40ed03831abe1f4da17f6dda55861c4d2e485625534
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -7,6 +7,7 @@ require 'ngp_van/client/activist_codes'
7
7
  require 'ngp_van/client/canvass_responses'
8
8
  require 'ngp_van/client/codes'
9
9
  require 'ngp_van/client/district_fields'
10
+ require 'ngp_van/client/echoes'
10
11
  require 'ngp_van/client/events'
11
12
  require 'ngp_van/client/event_types'
12
13
  require 'ngp_van/client/locations'
@@ -36,6 +37,7 @@ module NgpVan
36
37
  include NgpVan::Client::CanvassResponses
37
38
  include NgpVan::Client::Codes
38
39
  include NgpVan::Client::DistrictFields
40
+ include NgpVan::Client::Echoes
39
41
  include NgpVan::Client::Events
40
42
  include NgpVan::Client::EventTypes
41
43
  include NgpVan::Client::Locations
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module NgpVan
4
+ class Client
5
+ module Echoes
6
+ def echoes(message:)
7
+ post(path: 'echoes', body: {message: message})
8
+ end
9
+ end
10
+ end
11
+ end
@@ -7,7 +7,7 @@ module NgpVan
7
7
 
8
8
  # Current minor release.
9
9
  # @return [Integer]
10
- MINOR = 2
10
+ MINOR = 3
11
11
 
12
12
  # Current patch level.
13
13
  # @return [Integer]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ngp_van
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Styles
@@ -36,7 +36,7 @@ cert_chain:
36
36
  uZ9aI1c3Tt/pkw9HxXwDo1m/+BQOZkAhEZu6LQQgBPAX8hlUyDw54SoJtfnFp0FI
37
37
  Hje6PutFGypAA8f9kmLl8X2Eu74D8PI9ywc=
38
38
  -----END CERTIFICATE-----
39
- date: 2018-11-07 00:00:00.000000000 Z
39
+ date: 2018-11-15 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: faraday
@@ -92,6 +92,7 @@ files:
92
92
  - lib/ngp_van/client/canvass_responses.rb
93
93
  - lib/ngp_van/client/codes.rb
94
94
  - lib/ngp_van/client/district_fields.rb
95
+ - lib/ngp_van/client/echoes.rb
95
96
  - lib/ngp_van/client/event_types.rb
96
97
  - lib/ngp_van/client/events.rb
97
98
  - lib/ngp_van/client/locations.rb
metadata.gz.sig CHANGED
Binary file