Class: Crab::Defect

Inherits:
Object
  • Object
show all
Defined in:
lib/crab/defect.rb

Instance Method Summary collapse

Constructor Details

#initialize(rally_defect) ⇒ Defect

Returns a new instance of Defect.



3
4
5
# File 'lib/crab/defect.rb', line 3

def initialize(rally_defect)
  @rally_defect = rally_defect
end

Instance Method Details

#browserObject



23
24
25
# File 'lib/crab/defect.rb', line 23

def browser
  @rally_defect.navegador
end

#deleteObject



47
48
49
# File 'lib/crab/defect.rb', line 47

def delete
  @rally_defect.delete
end

#descriptionObject



15
16
17
# File 'lib/crab/defect.rb', line 15

def description
  @rally_defect.description
end

#environmentObject



19
20
21
# File 'lib/crab/defect.rb', line 19

def environment
  @rally_defect.environment
end

#formatted_idObject



7
8
9
# File 'lib/crab/defect.rb', line 7

def formatted_id
  @rally_defect.formatted_i_d
end

#nameObject



11
12
13
# File 'lib/crab/defect.rb', line 11

def name
  @rally_defect.name
end

#severityObject



31
32
33
# File 'lib/crab/defect.rb', line 31

def severity
  @rally_defect.severity
end

#statteObject



27
28
29
# File 'lib/crab/defect.rb', line 27

def statte
  @rally_defect.schedule_state
end

#target_dateObject



35
36
37
# File 'lib/crab/defect.rb', line 35

def target_date
  @rally_defect.target_date
end

#task_statusObject



39
40
41
# File 'lib/crab/defect.rb', line 39

def task_status
  @rally_defect.task_status
end

#test_case_statusObject



43
44
45
# File 'lib/crab/defect.rb', line 43

def test_case_status
  @rally_defect.test_case_status
end