ecoportal-api 0.1.0 → 0.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: 30256db72d10e576aa2a5cfaf7746757ec6e0e9422d850a31f0e96644b480488
|
|
4
|
+
data.tar.gz: '08e901d8c555553846f13a6a9cd3270408be694385c210760e8ad92fd6c5740b'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e7df20d551e1052811af4230567d47f09a7c292fc2cab07a674b87819faaad4a603300656be5199d3036335ec2236c343215a16a312964e59e82c21bf62fc467
|
|
7
|
+
data.tar.gz: 31c29458dc17da53d725e208f4bc88ebdf01633fda22027c5c9990999b9134bf1054c6792f33ef9c67f0a4508ab6a7fbbdde86437976a829896324228f4ab24e
|
|
@@ -10,9 +10,13 @@ module Ecoportal
|
|
|
10
10
|
response = @client.get("/login_providers")
|
|
11
11
|
Common::WrappedResponse.new(response, Internal::LoginProvider)
|
|
12
12
|
end
|
|
13
|
+
def each(params: {}, &block)
|
|
14
|
+
get_all.each(&block)
|
|
15
|
+
self
|
|
16
|
+
end
|
|
13
17
|
end
|
|
14
18
|
end
|
|
15
19
|
end
|
|
16
20
|
end
|
|
17
21
|
|
|
18
|
-
require 'ecoportal/api/internal/login_provider'
|
|
22
|
+
require 'ecoportal/api/internal/login_provider'
|
|
@@ -10,9 +10,13 @@ module Ecoportal
|
|
|
10
10
|
response = @client.get("/policy_groups")
|
|
11
11
|
Common::WrappedResponse.new(response, Internal::PolicyGroup)
|
|
12
12
|
end
|
|
13
|
+
def each(params: {}, &block)
|
|
14
|
+
get_all.each(&block)
|
|
15
|
+
self
|
|
16
|
+
end
|
|
13
17
|
end
|
|
14
18
|
end
|
|
15
19
|
end
|
|
16
20
|
end
|
|
17
21
|
|
|
18
|
-
require 'ecoportal/api/internal/policy_group'
|
|
22
|
+
require 'ecoportal/api/internal/policy_group'
|
|
@@ -6,6 +6,12 @@ module Ecoportal
|
|
|
6
6
|
def initialize(client)
|
|
7
7
|
@client = client
|
|
8
8
|
end
|
|
9
|
+
|
|
10
|
+
def each(params: {}, &block)
|
|
11
|
+
get_all.each(&block)
|
|
12
|
+
self
|
|
13
|
+
end
|
|
14
|
+
|
|
9
15
|
def get_all
|
|
10
16
|
response = @client.get("/person_schemas")
|
|
11
17
|
Common::WrappedResponse.new(response, person_schema_class)
|