Class: Iglu::Registries::RegistryRef
- Inherits:
-
Object
- Object
- Iglu::Registries::RegistryRef
- Defined in:
- lib/iglu-client/registries.rb
Overview
Interface
Direct Known Subclasses
Instance Attribute Summary collapse
-
#class_priority ⇒ Object
readonly
Returns the value of attribute class_priority.
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#descriptor ⇒ Object
readonly
Returns the value of attribute descriptor.
Instance Method Summary collapse
Instance Attribute Details
#class_priority ⇒ Object (readonly)
Returns the value of attribute class_priority.
21 22 23 |
# File 'lib/iglu-client/registries.rb', line 21 def class_priority @class_priority end |
#config ⇒ Object (readonly)
Returns the value of attribute config.
21 22 23 |
# File 'lib/iglu-client/registries.rb', line 21 def config @config end |
#descriptor ⇒ Object (readonly)
Returns the value of attribute descriptor.
21 22 23 |
# File 'lib/iglu-client/registries.rb', line 21 def descriptor @descriptor end |
Instance Method Details
#lookup_schema(schema_key) ⇒ Object
23 24 |
# File 'lib/iglu-client/registries.rb', line 23 def lookup_schema(schema_key) end |
#vendor_matched(schema_key) ⇒ Object
26 27 28 29 30 31 |
# File 'lib/iglu-client/registries.rb', line 26 def vendor_matched(schema_key) matches = @config.vendor_prefixes.map { |p| schema_key.vendor.start_with?(p) } matches.include? true end |