Class: OpenTsdb::Tag

Inherits:
Object
  • Object
show all
Defined in:
lib/psc/opentsdb.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject

Returns the value of attribute tag_name.



84
85
86
# File 'lib/psc/opentsdb.rb', line 84

def tag_name
  @tag_name
end

#tag_valueObject

Returns the value of attribute tag_value.



84
85
86
# File 'lib/psc/opentsdb.rb', line 84

def tag_value
  @tag_value
end