Class: KalibroClient::Entities::Miscellaneous::Metric
- Defined in:
- lib/kalibro_client/entities/miscellaneous/metric.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#scope ⇒ Object
Returns the value of attribute scope.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, name, code, scope) ⇒ Metric
constructor
A new instance of Metric.
Methods inherited from Base
Constructor Details
#initialize(type, name, code, scope) ⇒ Metric
Returns a new instance of Metric.
7 8 9 10 11 12 13 |
# File 'lib/kalibro_client/entities/miscellaneous/metric.rb', line 7 def initialize(type, name, code, scope) @type = type @name = name @code = code self.scope = scope @description = "" end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
5 6 7 |
# File 'lib/kalibro_client/entities/miscellaneous/metric.rb', line 5 def code @code end |
#description ⇒ Object
Returns the value of attribute description.
5 6 7 |
# File 'lib/kalibro_client/entities/miscellaneous/metric.rb', line 5 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/kalibro_client/entities/miscellaneous/metric.rb', line 5 def name @name end |
#scope ⇒ Object
Returns the value of attribute scope.
5 6 7 |
# File 'lib/kalibro_client/entities/miscellaneous/metric.rb', line 5 def scope @scope end |
#type ⇒ Object
Returns the value of attribute type.
5 6 7 |
# File 'lib/kalibro_client/entities/miscellaneous/metric.rb', line 5 def type @type end |