Class: Ticket

Inherits:
Object
  • Object
show all
Defined in:
lib/zentool/ticket.rb

Overview

Represents a single ticket, including its data and metrics

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#infoObject

Returns the value of attribute info.



4
5
6
# File 'lib/zentool/ticket.rb', line 4

def info
  @info
end

#metricsObject

Returns the value of attribute metrics.



4
5
6
# File 'lib/zentool/ticket.rb', line 4

def metrics
  @metrics
end