scim-kit 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scim/kit/v2/resource_type.rb +5 -1
- data/lib/scim/kit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 447d2e7c6cbe153832ea1cf72515e52f5dc32a2a13766d94a84b1d98ef0e165d
|
4
|
+
data.tar.gz: 32572a17304ddf61f8dce47b37352a9b065c9d77d8c7a7d886d622d77e5444d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc9f30de0b59f80d59938c8a4854e663d9e2d62498c065c436f4263579ca853e8e50f6a85e6969974325afee144c1faabcefa57dc448ff00e72caf12f9bbed59
|
7
|
+
data.tar.gz: 68c022cd064d112f39a5224bb1b1c8bc428282aa4b2340cb31e5ad7a496d0d5a723e59b5b716b88933471cef65bdf9b264b91523e9eaf9f66b5068f58ad767ad
|
@@ -12,7 +12,7 @@ module Scim
|
|
12
12
|
attr_accessor :description
|
13
13
|
attr_accessor :endpoint
|
14
14
|
attr_accessor :schema
|
15
|
-
|
15
|
+
attr_reader :schema_extensions
|
16
16
|
attr_reader :meta
|
17
17
|
|
18
18
|
def initialize(location:)
|
@@ -21,6 +21,10 @@ module Scim
|
|
21
21
|
@schema_extensions = []
|
22
22
|
end
|
23
23
|
|
24
|
+
def add_schema_extension(schema:, required: false)
|
25
|
+
@schema_extensions.push(schema: schema, required: required)
|
26
|
+
end
|
27
|
+
|
24
28
|
def self.build(*args)
|
25
29
|
item = new(*args)
|
26
30
|
yield item
|
data/lib/scim/kit/version.rb
CHANGED