Class: IntervalResponse::Sequence::Interval

Inherits:
Struct
  • Object
show all
Defined in:
lib/interval_response/sequence.rb

Instance Attribute Summary collapse

Instance Attribute Details

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



10
11
12
# File 'lib/interval_response/sequence.rb', line 10

def offset
  @offset
end

#positionObject

Returns the value of attribute position

Returns:

  • (Object)

    the current value of position



10
11
12
# File 'lib/interval_response/sequence.rb', line 10

def position
  @position
end

#segmentObject

Returns the value of attribute segment

Returns:

  • (Object)

    the current value of segment



10
11
12
# File 'lib/interval_response/sequence.rb', line 10

def segment
  @segment
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



10
11
12
# File 'lib/interval_response/sequence.rb', line 10

def size
  @size
end