Class: ActivityFeed::TicketCreatedEvent
- Inherits:
-
TicketEvent
- Object
- Struct
- Event
- TicketEvent
- ActivityFeed::TicketCreatedEvent
- Defined in:
- app/models/activity_feed.rb
Instance Attribute Summary
Attributes inherited from TicketEvent
Attributes inherited from Event
Instance Method Summary collapse
- #css ⇒ Object
- #icon ⇒ Object
-
#initialize(ticket) ⇒ TicketCreatedEvent
constructor
A new instance of TicketCreatedEvent.
Methods inherited from TicketEvent
Methods inherited from Event
Constructor Details
#initialize(ticket) ⇒ TicketCreatedEvent
58 59 60 |
# File 'app/models/activity_feed.rb', line 58 def initialize(ticket) super(ticket.created_at, ticket) end |
Instance Method Details
#css ⇒ Object
62 63 64 |
# File 'app/models/activity_feed.rb', line 62 def css "timeline-event-ticket-created" end |
#icon ⇒ Object
66 67 68 |
# File 'app/models/activity_feed.rb', line 66 def icon "fa fa-plus" end |