Class: TestLink::Adapters::ProjectAdapter

Inherits:
Base
  • Object
show all
Defined in:
lib/test_link/adapters/project_adapter.rb

Instance Attribute Summary

Attributes inherited from Base

#response

Instance Method Summary collapse

Methods inherited from Base

#adapt

Instance Method Details

#adapt_row(row) ⇒ Object



22
23
24
25
26
27
28
29
# File 'lib/test_link/adapters/project_adapter.rb', line 22

def adapt_row row
  project = Objects::Project.new
  project.id = row['id'].to_i
  project.name = row['name']
  project.prefix = row['prefix']
  project.notes = row['notes']
  project
end