Sha256: ac7c44998235c55f9e972cce8b7535522fdd31556b8edbfff5e87134ce5c7b0d
Contents?: true
Size: 481 Bytes
Versions: 1
Compression:
Stored size: 481 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")) version = params.delete("version") project["versions"] << version service.response end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
you_track-0.3.0 | lib/you_track/client/requests/add_project_fix_version.rb |