Class: Occi::Core::Action

Inherits:
Category show all
Defined in:
lib/occi/core/action.rb

Overview

Class without internal logic semantically separating `Category` and `Action` instances for rendering purposes.

Author:

Constant Summary

Constants included from Helpers::IdentifierValidator

Helpers::IdentifierValidator::PROHIBITED_SCHEMA_CHARS, Helpers::IdentifierValidator::REGEXP_TERM

Constants included from Helpers::Renderable

Helpers::Renderable::RENDERER_FACTORY_CLASS

Instance Attribute Summary

Attributes inherited from Category

#attributes, #identifier, #schema, #term, #title

Class Method Summary collapse

Methods inherited from Category

#==, #eql?, #hash, #initialize, #to_s, #valid!, #valid?

Methods included from Helpers::YamlSummoner

#from_yaml, #needs_dereferencing?

Methods included from Helpers::IdentifierValidator

#prohibited_chars!, #valid_identifier!, #valid_identifier?, #valid_schema!, #valid_schema?, #valid_term!, #valid_term?, #valid_uri!

Methods included from Helpers::AttributesAccessor

#[], #[]=

Methods included from Helpers::Renderable

extended, included, #render, #renderer_factory, renderer_factory, renderer_factory_class, #renderer_for

Constructor Details

This class inherits a constructor from Occi::Core::Category

Class Method Details

.allowed_yaml_classesObject

:nodoc:


10
11
12
13
# File 'lib/occi/core/action.rb', line 10

def allowed_yaml_classes
  # TODO: get rid of this with referenced (name-only) attributes in Action YAMLs
  [String, Regexp, URI, IPAddr, Integer, Float].freeze
end