Class: Occi::InfrastructureExt::Mixins::Region
- Inherits:
-
Core::Mixin
- Object
- Core::Category
- Core::Mixin
- Occi::InfrastructureExt::Mixins::Region
- Defined in:
- lib/occi/infrastructure_ext/mixins/region.rb
Overview
A helper class for manipulation with ‘region` parent mixin. Doesn’t provide any additional functionality aside from the class name.
Constant Summary collapse
- TITLE =
'OCCI Region mixin'.freeze
Constants included from Core::Helpers::IdentifierValidator
Core::Helpers::IdentifierValidator::PROHIBITED_SCHEMA_CHARS, Core::Helpers::IdentifierValidator::REGEXP_TERM
Constants included from Core::Helpers::Renderable
Core::Helpers::Renderable::RENDERER_FACTORY_CLASS
Instance Attribute Summary
Attributes inherited from Core::Mixin
#actions, #applies, #depends, #location
Attributes inherited from Core::Category
#attributes, #identifier, #schema, #term, #title
Instance Method Summary collapse
-
#initialize ⇒ Region
constructor
See ‘Occi::Core::Mixin` and `Occi::Core::Category`.
Methods inherited from Core::Mixin
Methods included from Core::Helpers::Locatable
Methods inherited from Core::Category
#==, #eql?, #hash, #to_s, #valid!, #valid?
Methods included from Core::Helpers::IdentifierValidator
#prohibited_chars!, #valid_identifier!, #valid_identifier?, #valid_schema!, #valid_schema?, #valid_term!, #valid_term?, #valid_uri!
Methods included from Core::Helpers::YamlSummoner
#from_yaml, #needs_dereferencing?
Methods included from Core::Helpers::AttributesAccessor
Methods included from Core::Helpers::Renderable
extended, included, #render, #renderer_factory, renderer_factory, renderer_factory_class, #renderer_for
Constructor Details
#initialize ⇒ Region
See ‘Occi::Core::Mixin` and `Occi::Core::Category`
12 13 14 15 |
# File 'lib/occi/infrastructure_ext/mixins/region.rb', line 12 def initialize schema, term = Occi::InfrastructureExt::Constants::REGION_MIXIN.split('#') super term: term, schema: "#{schema}#", title: TITLE end |