Class: Nylas::Timespan

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Includes:
Model::Attributable
Defined in:
lib/nylas/timespan.rb

Overview

Structure to represent a Nylas Timespan.

Instance Method Summary collapse

Methods included from Model::Attributable

#attributes, included, #initialize, #to_h

Instance Method Details

#rangeObject



16
17
18
# File 'lib/nylas/timespan.rb', line 16

def range
  @range ||= Range.new(start_time, end_time)
end