Sha256: 945a48e0bc0f3959410996320da9629c02b2284ba30f3176b00c1c772b451528
Contents?: true
Size: 459 Bytes
Versions: 8
Compression:
Stored size: 459 Bytes
Contents
class YouTrack::Client::AddProjectFixVersion < YouTrack::Client::Request def real(params={}) project = params.delete("project") version = params.delete("version") service.request( :path => "/admin/project/#{project}/version/#{version}", :method => :put, ) end def mock(params={}) project = find(:projects, params.delete("project")) project["versions"] << params.delete("version") service.response end end
Version data entries
8 entries across 8 versions & 1 rubygems