nueca_rails_interfaces 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42dd2f02e795aef50698e9a70249e3e0105c8a8e53a9208f1e75df110401a9ec
|
4
|
+
data.tar.gz: 10239f791667be7b7787ea03536c8d19f202ad0dae67eff292ba5688d3a1fd13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4ea8b27bd401d4a0dbfeb111f82529f8b12ce0a79d11c0bc43b413130715964ad1416f08a27d42008b370e05f178b452646100988a85717b7af3b128042ae6e
|
7
|
+
data.tar.gz: 1baca017fc4728ca09f4e855ac186ea55b17a5ea9f62f7382faa67d740614a34db61cb67cce6fc47f44a5f09784f5f3d5d80b787986c5a5d4c81407cad8411ea
|
@@ -7,12 +7,14 @@ module NuecaRailsInterfaces
|
|
7
7
|
module ServiceInterface
|
8
8
|
class << self
|
9
9
|
def included(base)
|
10
|
+
raise NuecaRailsInterfaces::DeprecatedError
|
11
|
+
|
10
12
|
# This is the main method of the service in a class context.
|
11
13
|
# This is the method that should be called to perform the service statically.
|
12
14
|
# Use this instead if the service instance is not needed.
|
13
15
|
# Do not override this method. Instead, override the `action` method. Returns the data immediately.
|
14
16
|
# @return [Object] Data of the service.
|
15
|
-
base.define_singleton_method(:perform) do |*arguments|
|
17
|
+
base.define_singleton_method(:perform) do |*arguments| # rubocop:disable Lint/UnreachableCode
|
16
18
|
instance = NuecaRailsInterfaces::Util.process_class_arguments(self, *arguments)
|
17
19
|
instance.perform
|
18
20
|
end
|