Class: ActivityFeed::Event

Inherits:
Struct
  • Object
show all
Defined in:
app/models/activity_feed.rb

Direct Known Subclasses

ReleaseEvent, TicketEvent

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#projectObject

Returns the value of attribute project

Returns:

  • (Object)

    the current value of project



38
39
40
# File 'app/models/activity_feed.rb', line 38

def project
  @project
end

#timeObject

Returns the value of attribute time

Returns:

  • (Object)

    the current value of time



38
39
40
# File 'app/models/activity_feed.rb', line 38

def time
  @time
end

Instance Method Details

#dateObject



39
40
41
# File 'app/models/activity_feed.rb', line 39

def date
  time.to_date
end