Class: Ticket
- Inherits:
-
Object
- Object
- Ticket
- Defined in:
- lib/zentool/ticket.rb
Overview
Represents a single ticket, including its data and metrics
Instance Attribute Summary collapse
-
#info ⇒ Object
Returns the value of attribute info.
-
#metrics ⇒ Object
Returns the value of attribute metrics.
Instance Method Summary collapse
-
#initialize(info, metrics) ⇒ Ticket
constructor
A new instance of Ticket.
Constructor Details
#initialize(info, metrics) ⇒ Ticket
Returns a new instance of Ticket.
6 7 8 9 |
# File 'lib/zentool/ticket.rb', line 6 def initialize(info, metrics) @info = info @metrics = metrics end |
Instance Attribute Details
#info ⇒ Object
Returns the value of attribute info.
4 5 6 |
# File 'lib/zentool/ticket.rb', line 4 def info @info end |
#metrics ⇒ Object
Returns the value of attribute metrics.
4 5 6 |
# File 'lib/zentool/ticket.rb', line 4 def metrics @metrics end |