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



134
135
136
# File 'lib/sidekiq/metrics/query.rb', line 134

def label
  @label
end

#timeObject

Returns the value of attribute time

Returns:

  • (Object)

    the current value of time



134
135
136
# File 'lib/sidekiq/metrics/query.rb', line 134

def time
  @time
end

Instance Method Details

#bucketObject



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

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