wolf_core 0.1.26 → 0.1.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wolf_core/application/barton/mappings.rb +16 -0
- data/lib/wolf_core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d51ec182318cf97c54c92a3800d854adee6d727559b753279adedb925bdd49c
|
4
|
+
data.tar.gz: 9ffe2f1c4a402d454ba3c9b547bf731d6e66ebf19ac4ece66e43c1f46856148e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7bac9f5e39e034f7313f648541898c2c3bd4f5e04dd9a11a46ba3c8ffdc5e4ed3a4bdce58ccc0e08a96b39118648f62f90d76e19148cfb57b4e699beed01fa0
|
7
|
+
data.tar.gz: 95ef614f875da89ec82f3cc21f3c73266f504f6734762c1d96162d6885b2c1c036264e84860e5abe56db1c98466d9f287c75330d11c879a3181d66c074a325f5
|
@@ -17,6 +17,14 @@ module WolfCore
|
|
17
17
|
"Perm Only" => "Permanent",
|
18
18
|
}
|
19
19
|
|
20
|
+
ORDER_STATUS_MAP = {
|
21
|
+
"Pending" => "pending",
|
22
|
+
"On Hold" => "pending",
|
23
|
+
"Filled" => "pending",
|
24
|
+
"Open" => "live",
|
25
|
+
"Closed" => "closed",
|
26
|
+
}
|
27
|
+
|
20
28
|
def map_provider_type_to_pricing_id(provider_type)
|
21
29
|
pricing_id = PROVIDER_TYPE_MAPPING[provider_type]
|
22
30
|
pricing_id || provider_type
|
@@ -36,6 +44,14 @@ module WolfCore
|
|
36
44
|
def reverse_map_locum_availability(value)
|
37
45
|
LOCUM_AVAILABILITY_MAP.invert[value] || value
|
38
46
|
end
|
47
|
+
|
48
|
+
def map_order_status(value)
|
49
|
+
ORDER_STATUS_MAP[value] || value
|
50
|
+
end
|
51
|
+
|
52
|
+
def reverse_map_order_status(value)
|
53
|
+
ORDER_STATUS_MAP.invert[value] || value
|
54
|
+
end
|
39
55
|
end
|
40
56
|
end
|
41
57
|
end
|
data/lib/wolf_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wolf_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Roncallo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|