class YandexMetrica::Counter::Kind

Attributes

name[R]
value[R]

Public Class Methods

new(name, value) click to toggle source
# File lib/yandex-metrica/counter/kind.rb, line 4
def initialize(name, value)
  @name, @value = name, value
end

Public Instance Methods

to_s() click to toggle source
# File lib/yandex-metrica/counter/kind.rb, line 8
def to_s
  "#{@name}:#{@value}"
end