restpack-core-client 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -18,6 +18,10 @@ module RestPack::Core::Client
|
|
18
18
|
def get_domain(id)
|
19
19
|
@domains.find { |a| a.id == id }
|
20
20
|
end
|
21
|
+
|
22
|
+
def get_domain_by_identifier(identifier)
|
23
|
+
@domains.find { |a| a.identifier == identifier }
|
24
|
+
end
|
21
25
|
|
22
26
|
def get_configuration(id)
|
23
27
|
@configurations.find { |a| a.id == id }
|