Class: Upr::Status

Inherits:
Struct
  • Object
show all
Includes:
StatusMethods
Defined in:
lib/upr/status.rb

Overview

this is what we store in the Moneta-backed monitor

Instance Attribute Summary collapse

Method Summary

Methods included from StatusMethods

#done?, #error?

Instance Attribute Details

#lengthObject

Returns the value of attribute length

Returns:

  • (Object)

    the current value of length



6
7
8
# File 'lib/upr/status.rb', line 6

def length
  @length
end

#seenObject

Returns the value of attribute seen

Returns:

  • (Object)

    the current value of seen



6
7
8
# File 'lib/upr/status.rb', line 6

def seen
  @seen
end