et_fake_ccd 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ffa81e25d289e1ff9555030198784b7f892b6ef608f5c14650bb7dd10a848b32
4
- data.tar.gz: 93dc7155402278d511930d83bfbd793a0c8931d36ee112365caac1104dae1412
3
+ metadata.gz: 43e9e9254fb5ee9245e25079ab42e8b8dca4c35974c7dbe14582207dcc51b98d
4
+ data.tar.gz: 150d1449babea45b916cdce5e1faecaeebba183cf4c6f5f3e9c18e79a7f34b18
5
5
  SHA512:
6
- metadata.gz: 73e9502bf1d34a8e81f7311962869c66e7a1b0b17d9eff81892ad55bf272401088adc466fd5e19e853f6e636c7eb387bfe58dc877fce093f827cf65e092d6dd7
7
- data.tar.gz: 79371ab60cd0793b0be73f8bf1b368418658ea0ec15edc39db23d6f2a2c21c253ac1ec8bb68b2de9ff37dd77db7105c91342d2ac2b8b2d0d7c1b7a72d5f88bce
6
+ metadata.gz: 6b474400fcfe6785c34cf458b6e762b6f7cd25e00287a1c616c2bd8fe39db24a9ed3b5016cdecb9666fc7e45404aa03146d5a1f502c352f65d3e2ae8796a0693
7
+ data.tar.gz: 066c6fd9b89e7f5c247bef0e3d936b7aad5d9d6e69f259c6967760f19900e8e6b9c72c6ce4f185166f68dc8ecc5be7c5222bcbb6ee2360e9443255fbd1351fa6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- et_fake_ccd (1.1.5)
4
+ et_fake_ccd (1.1.6)
5
5
  activemodel (>= 5.2.3)
6
6
  iodine (~> 0.7)
7
7
  json-schema (~> 2.5)
@@ -3,7 +3,17 @@ module EtFakeCcd
3
3
  class EcmService
4
4
  OFFICE_CODE_LOOKUP = {
5
5
  'Manchester' => '24',
6
- 'Glasgow' => '41'
6
+ 'Glasgow' => '41',
7
+ 'Test1' => '60',
8
+ 'Test2' => '61',
9
+ 'Test3' => '62',
10
+ 'Test4' => '63',
11
+ 'Test5' => '64',
12
+ 'Test6' => '65',
13
+ 'Test7' => '66',
14
+ 'Test8' => '67',
15
+ 'Test9' => '68',
16
+ 'Test10' => '69'
7
17
  }
8
18
  Response = Struct.new(:case_reference_count, :start_reference, :multiple_reference)
9
19
  # @param [EtFakeCcd::Command::StartMultipleCommand] command
@@ -65,6 +65,11 @@ module EtFakeCcd
65
65
 
66
66
  JSON.generate(j)
67
67
  end
68
+
69
+ def forbidden_error_for(r)
70
+ j = {"timestamp":"2019-07-01T07:46:35.405+0000","status":403,"error":"Forbidden","message":"Access Denied","path": r.path}
71
+ JSON.generate(j)
72
+ end
68
73
  end
69
74
  end
70
75
  end
@@ -1,3 +1,3 @@
1
1
  module EtFakeCcd
2
- VERSION = "1.1.5"
2
+ VERSION = "1.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: et_fake_ccd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor