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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/et_fake_ccd/ecm_service.rb +11 -1
- data/lib/et_fake_ccd/service/ecm_app.rb +5 -0
- data/lib/et_fake_ccd/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43e9e9254fb5ee9245e25079ab42e8b8dca4c35974c7dbe14582207dcc51b98d
|
4
|
+
data.tar.gz: 150d1449babea45b916cdce5e1faecaeebba183cf4c6f5f3e9c18e79a7f34b18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b474400fcfe6785c34cf458b6e762b6f7cd25e00287a1c616c2bd8fe39db24a9ed3b5016cdecb9666fc7e45404aa03146d5a1f502c352f65d3e2ae8796a0693
|
7
|
+
data.tar.gz: 066c6fd9b89e7f5c247bef0e3d936b7aad5d9d6e69f259c6967760f19900e8e6b9c72c6ce4f185166f68dc8ecc5be7c5222bcbb6ee2360e9443255fbd1351fa6
|
data/Gemfile.lock
CHANGED
@@ -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
|
data/lib/et_fake_ccd/version.rb
CHANGED