wolf_core 0.1.95 → 0.1.96
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b9b18f8f34d92108292a480d8cd324e6c7d5bb9877060b7ae28b3ff8137288f
|
4
|
+
data.tar.gz: ae5dd7657424be4915d619b15da9a173f03ca949418fd6d6972f88cedc3aa112
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76cc484e08c4cb02a64d9cc9686d6020f932f9761f0d5db49c2409a4f022da869bd3ba75c7d2149e72e62a10085ca064352c7eac5819735dc153951e184818e4
|
7
|
+
data.tar.gz: a1749eeb5c7dfb371ceb3c50023703eb77df6442f977870c97d921382ced04d6063005b6a51ce46412333d2001a0ee59cfa26bb5e87c02d7a90f9a6a77bd8c4d
|
@@ -93,6 +93,13 @@ module WolfCore
|
|
93
93
|
"Wyoming"=>"WY",
|
94
94
|
}
|
95
95
|
|
96
|
+
DISPLAY_PAY_RATE_UNIT_MAP = {
|
97
|
+
'hour' => 'Hourly',
|
98
|
+
'day' => 'Daily',
|
99
|
+
'week' => 'Weekly',
|
100
|
+
'month' => 'Monthly',
|
101
|
+
}
|
102
|
+
|
96
103
|
def map_provider_type_to_pricing_id(provider_type)
|
97
104
|
pricing_id = PROVIDER_TYPE_MAPPING[provider_type]
|
98
105
|
pricing_id || provider_type
|
@@ -136,6 +143,14 @@ module WolfCore
|
|
136
143
|
def revert_map_state_to_abbreviation(value)
|
137
144
|
STATE_ABBREVIATIONS_MAP.invert[value] || value
|
138
145
|
end
|
146
|
+
|
147
|
+
def map_display_pay_rate_unit(value)
|
148
|
+
DISPLAY_PAY_RATE_UNIT_MAP[value] || value
|
149
|
+
end
|
150
|
+
|
151
|
+
def revert_map_display_pay_rate_unit(value)
|
152
|
+
DISPLAY_PAY_RATE_UNIT_MAP.invert[value] || value
|
153
|
+
end
|
139
154
|
end
|
140
155
|
end
|
141
156
|
end
|
@@ -1,6 +1,10 @@
|
|
1
1
|
module WolfCore
|
2
2
|
module Integrations
|
3
3
|
module RoutingOperations
|
4
|
+
include WolfCore::HttpOperations
|
5
|
+
include WolfCore::LambdaFunctionOperations
|
6
|
+
include WolfCore::ExceptionOperations
|
7
|
+
|
4
8
|
def route_event_request(path:, body:)
|
5
9
|
environment = ENV['ENVIRONMENT']
|
6
10
|
if environment == 'production'
|
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.96
|
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-10-
|
11
|
+
date: 2024-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|