wolf_core 0.1.62 → 0.1.63
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/infrastructure/fkm_operations.rb +5 -5
- 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: 0f2de1bf2a650decfa3c55f27a6b09aa19960875f5efd4924f97f2f86e9cb5fe
|
4
|
+
data.tar.gz: 8f27d4d7e8032b73c0955277fa69a31616dcecdacfbda4984ef939192a4897b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd4b9c7011a51b052c178f733d4dc7984a28d7bf116037de4a52059ff1fa9401c6cee030849aa30dc351f3f988fc827534e9ee8d6e1f735346ded4c629a37d68
|
7
|
+
data.tar.gz: bd00aa024dd26f82d6d5b0f48e6711835b78c1aa3185bff30641852a2aadb40684f02dc2f182a8ea57401fbfbc7111d7123d58043b4ef1aecbdbe3f54ae04ca3
|
@@ -31,11 +31,11 @@ module WolfCore
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def create_foreign_key(tenant:, source:, source_id:, destination:, destination_id:)
|
34
|
-
raise_service_error('tenant is required to create a foreign key') if tenant.blank?
|
35
|
-
raise_service_error('source is required to create a foreign key') if source.blank?
|
36
|
-
raise_service_error('source_id is required to create a foreign key') if source_id.blank?
|
37
|
-
raise_service_error('destination is required to create a foreign key') if destination.blank?
|
38
|
-
raise_service_error('destination_id is required to create a foreign key') if destination_id.blank?
|
34
|
+
raise_service_error({ message: 'tenant is required to create a foreign key', tenant: tenant }) if tenant.blank?
|
35
|
+
raise_service_error({ message: 'source is required to create a foreign key', source: source }) if source.blank?
|
36
|
+
raise_service_error({ message: 'source_id is required to create a foreign key', source_id: source_id }) if source_id.blank?
|
37
|
+
raise_service_error({ message: 'destination is required to create a foreign key', destination: destination }) if destination.blank?
|
38
|
+
raise_service_error({ message: 'destination_id is required to create a foreign key', destination_id: destination_id }) if destination_id.blank?
|
39
39
|
response = http_post(
|
40
40
|
url: "#{ENV['FKM_URL']}/Prod/create",
|
41
41
|
body: {
|
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.63
|
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-08-
|
11
|
+
date: 2024-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|