Class: Hawkular::Inventory::ResourceType

Inherits:
BaseEntity
  • Object
show all
Defined in:
lib/hawkular/inventory/entities.rb

Overview

A ResourceType is like a class definition for Resources ResourceTypes are currently unique per feed, but one can assume that a two types with the same name of two different feeds are (more or less) the same.

Instance Attribute Summary

Attributes inherited from BaseEntity

#env, #feed, #id, #name, #path, #properties

Instance Method Summary collapse

Methods inherited from BaseEntity

#==, #to_h

Constructor Details

#initialize(rt_hash) ⇒ ResourceType

Returns a new instance of ResourceType



55
56
57
# File 'lib/hawkular/inventory/entities.rb', line 55

def initialize(rt_hash)
  super(rt_hash)
end