wolf_core 0.1.26 → 0.1.28

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: 10da871d6396424534f146ef620b3afbee91b32257638060db7d13420b08167e
4
- data.tar.gz: 3ae48ce58db541bbc4a033beddef21565fc9fe524c8fa02e0a0f2a5b1f73af20
3
+ metadata.gz: 89932e1140c20b24b0de380a7734568f434ed8a0ed51fb492080bf7ea36217b7
4
+ data.tar.gz: 2bc80ddfdae98c1d97e4c738a0c2b6ab7eed99e40ab529a26a51df64405b9333
5
5
  SHA512:
6
- metadata.gz: 5e9b5ef3cb81ca540285378a3cfa5b27de7420cf9331d119af5c7890f176ed10a672da239cae69b8bcf9732001ef11e7dab502d5cc4b298557f71d7206ba2ca5
7
- data.tar.gz: '0696dd524c9718911ab4e4bf2722347c0a3d61c4791a4186b02c2bf4e3451bda085390ab34a65cebb9ddd3c243f419c715e231992bdca5231269bd3f546bb82f'
6
+ metadata.gz: 4de2bed8e0cb028a9d01776da0a0c64d0cff9fd45cdfe0fd15f4e1098806471a0b78482ececb38c8535af20abd3ccbc9f2de20ff9617e5d54cae4d781f318113
7
+ data.tar.gz: 562faac225103241be4fac6c63820d4edb134983518643afc476cacd3830cc5ba70f03ae91d0084d812c1af0a35e101fe9517173bc72e67831d710cfba736b3d
@@ -7,6 +7,7 @@ module WolfCore
7
7
  'PA' => ENV['PA_PRICING_ID'],
8
8
  'DMD' => ENV['DMD_PRICING_ID'],
9
9
  'NP' => ENV['NP_PRICING_ID'],
10
+ 'DDS' => ENV['DDS_PRICING_ID'],
10
11
  }
11
12
 
12
13
  LOCUM_AVAILABILITY_MAP = {
@@ -17,6 +18,14 @@ module WolfCore
17
18
  "Perm Only" => "Permanent",
18
19
  }
19
20
 
21
+ ORDER_STATUS_MAP = {
22
+ "Pending" => "pending",
23
+ "On Hold" => "pending",
24
+ "Filled" => "pending",
25
+ "Open" => "live",
26
+ "Closed" => "closed",
27
+ }
28
+
20
29
  def map_provider_type_to_pricing_id(provider_type)
21
30
  pricing_id = PROVIDER_TYPE_MAPPING[provider_type]
22
31
  pricing_id || provider_type
@@ -36,6 +45,14 @@ module WolfCore
36
45
  def reverse_map_locum_availability(value)
37
46
  LOCUM_AVAILABILITY_MAP.invert[value] || value
38
47
  end
48
+
49
+ def map_order_status(value)
50
+ ORDER_STATUS_MAP[value] || value
51
+ end
52
+
53
+ def reverse_map_order_status(value)
54
+ ORDER_STATUS_MAP.invert[value] || value
55
+ end
39
56
  end
40
57
  end
41
58
  end
@@ -5,6 +5,8 @@ module WolfCore
5
5
 
6
6
  def async_http_get(**args)
7
7
  puts "starting async_http_get"
8
+ puts "async_http_get args are"
9
+ pp args
8
10
  run_async do
9
11
  response = http_get(**args)
10
12
  puts "async_http_get response is"
@@ -18,6 +20,8 @@ module WolfCore
18
20
 
19
21
  def async_http_post(**args)
20
22
  puts "starting async_http_post"
23
+ puts "async_http_post args are"
24
+ pp args
21
25
  run_async do
22
26
  response = http_post(**args)
23
27
  puts "async_http_post response is"
@@ -31,6 +35,8 @@ module WolfCore
31
35
 
32
36
  def async_http_put(**args)
33
37
  puts "starting async_http_put"
38
+ puts "async_http_put args are"
39
+ pp args
34
40
  run_async do
35
41
  response = http_put(**args)
36
42
  puts "async_http_put response is"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "0.1.26"
4
+ VERSION = "0.1.28"
5
5
  end
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.26
4
+ version: 0.1.28
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-18 00:00:00.000000000 Z
11
+ date: 2024-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty