Class: OpenTsdb::Tag
- Inherits:
-
Object
- Object
- OpenTsdb::Tag
- Defined in:
- lib/psc/opentsdb.rb
Instance Attribute Summary collapse
-
#tag_name ⇒ Object
Returns the value of attribute tag_name.
-
#tag_value ⇒ Object
Returns the value of attribute tag_value.
Instance Method Summary collapse
-
#initialize(tag_name, tag_value) ⇒ Tag
constructor
A new instance of Tag.
Constructor Details
#initialize(tag_name, tag_value) ⇒ Tag
Returns a new instance of Tag.
85 86 87 88 |
# File 'lib/psc/opentsdb.rb', line 85 def initialize(tag_name,tag_value) @tag_name = tag_name @tag_value = tag_value end |
Instance Attribute Details
#tag_name ⇒ Object
Returns the value of attribute tag_name.
84 85 86 |
# File 'lib/psc/opentsdb.rb', line 84 def tag_name @tag_name end |
#tag_value ⇒ Object
Returns the value of attribute tag_value.
84 85 86 |
# File 'lib/psc/opentsdb.rb', line 84 def tag_value @tag_value end |