Skip to content

Commit

Permalink
Add missing attributes to timespan
Browse files Browse the repository at this point in the history
  • Loading branch information
Che-Chris committed Jul 10, 2019
1 parent 53e462b commit b13432e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/nylas/timespan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ class Timespan
attribute :object, :string
attribute :start_time, :unix_timestamp
attribute :end_time, :unix_timestamp
attribute :time, :unix_timestamp
attribute :date, :unix_timestamp
attribute :start_date, :unix_timestamp
attribute :end_date, :unix_timestamp

def_delegators :range, :cover?

Expand Down

0 comments on commit b13432e

Please sign in to comment.