Class: Sidekiq::Metrics::Query::MarkResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/sidekiq/metrics/query.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



136
137
138
# File 'lib/sidekiq/metrics/query.rb', line 136

def label
  @label
end

#timeObject

Returns the value of attribute time

Returns:

  • (Object)

    the current value of time



136
137
138
# File 'lib/sidekiq/metrics/query.rb', line 136

def time
  @time
end

Instance Method Details

#bucketObject



137
138
139
# File 'lib/sidekiq/metrics/query.rb', line 137

def bucket
  time.strftime("%H:%M")
end