gds-api-adapters 57.2.2 → 57.2.3

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: bc1caa2602fa185427e439ce219c7a1c357fa42368844a27a658c63b60e9a7bd
4
- data.tar.gz: bf3229785b2ae808923336acad595af6cbe4a0f74b37340603ef34cbfedc8eb4
3
+ metadata.gz: cdf50d9974acdcfdfd5ad1d517abd007598a86f7a811cfa7cc7852f8ef4ad7af
4
+ data.tar.gz: eb23da4637a18a3b049af473929cba6c27ad4beb27a1c3b3c0c39f2ca01eb6b1
5
5
  SHA512:
6
- metadata.gz: ca70d89e4f4fb120ea7ec946329cb2dff7e12bb926c6e8e51698a68f572f78b897217a2d41fff61c233dd5d915a3acb9ea142cbe2d6167e6de59efda6fa14d98
7
- data.tar.gz: 968cda1996efbc0d76c039c62a555479f93e887781b06fe64ffbcd14bd80b3767b9dd810cfd0ccc39d77b4f70e56994fadff5f1122b8dc1681f2ae36ffbf05dd
6
+ metadata.gz: 270ebb6f01941b807ccda0e9b7f77b0e8d97f09e116d4137633319266a5473005daf79049b5669a8a0b0e1375f4b967e1a7fc49c39067230a6b9a3f30607dee8
7
+ data.tar.gz: 94e63c8caa8917f9441ddf4340079a5aea7fdcf5f585629d813e01857570ca5d870c3423d97a732ae6ec6b459cc45dd510705fb9e7e7c886a08b5924c4be3fbf
@@ -47,6 +47,10 @@ class GdsApi::SupportApi < GdsApi::Base
47
47
  get_json("#{endpoint}/anonymous-feedback/problem-reports/#{date_string}/totals")
48
48
  end
49
49
 
50
+ def create_business_finder_feedback(params)
51
+ post_json("#{endpoint}/anonymous-feedback/business-finder", params)
52
+ end
53
+
50
54
  def anonymous_feedback(options = {})
51
55
  uri = "#{endpoint}/anonymous-feedback" + query_string(options)
52
56
  get_json(uri)
@@ -48,6 +48,12 @@ module GdsApi
48
48
  post_stub.to_return(status: 201)
49
49
  end
50
50
 
51
+ def stub_support_api_create_business_finder_feedback(params)
52
+ post_stub = stub_http_request(:post, "#{SUPPORT_API_ENDPOINT}/anonymous-feedback/business-finder")
53
+ post_stub.with(body: params)
54
+ post_stub.to_return(status: 201)
55
+ end
56
+
51
57
  def stub_support_api_problem_report_daily_totals_for(date, expected_results = nil)
52
58
  date_string = date.strftime("%Y-%m-%d")
53
59
  get_stub = stub_http_request(:get, "#{SUPPORT_API_ENDPOINT}/anonymous-feedback/problem-reports/#{date_string}/totals")
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '57.2.2'.freeze
2
+ VERSION = '57.2.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gds-api-adapters
3
3
  version: !ruby/object:Gem::Version
4
- version: 57.2.2
4
+ version: 57.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-24 00:00:00.000000000 Z
11
+ date: 2019-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable