Class: Occi::Infrastructure::Os_tpl
- Inherits:
-
Core::Mixin
- Object
- Core::Category
- Core::Mixin
- Occi::Infrastructure::Os_tpl
- Defined in:
- lib/occi/infrastructure/os_tpl.rb
Instance Attribute Summary
Attributes inherited from Core::Mixin
#actions, #entities, #location, #related
Attributes inherited from Core::Category
#attributes, #model, #scheme, #term, #title
Instance Method Summary collapse
-
#initialize(scheme = 'http://schemas.ogf.org/occi/infrastructure#', term = 'os_tpl', title = 'operating system template', attributes = Occi::Core::Attributes.new, related = Occi::Core::Categories.new, actions = Occi::Core::Actions.new, location = '/mixins/os_tpl/') ⇒ Os_tpl
constructor
A new instance of Os_tpl.
Methods inherited from Core::Mixin
Methods inherited from Core::Category
#as_json, categories, get_class, #inspect, #location, #related_to?, #to_header, #to_s, #to_string, #to_string_short, #to_text, #type_identifier
Constructor Details
#initialize(scheme = 'http://schemas.ogf.org/occi/infrastructure#', term = 'os_tpl', title = 'operating system template', attributes = Occi::Core::Attributes.new, related = Occi::Core::Categories.new, actions = Occi::Core::Actions.new, location = '/mixins/os_tpl/') ⇒ Os_tpl
Returns a new instance of Os_tpl.
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/occi/infrastructure/os_tpl.rb', line 5 def initialize(scheme='http://schemas.ogf.org/occi/infrastructure#', term='os_tpl', title='operating system template', attributes=Occi::Core::Attributes.new, =Occi::Core::Categories.new, actions=Occi::Core::Actions.new, location='/mixins/os_tpl/') super(scheme, term, title, attributes, , actions, location) self. << Occi::Infrastructure::Compute.kind end |