Sha256: 1dad1e1d3bba79538e88bdeed1226f937bda6ba9889adb69345dfceb36073045
Contents?: true
Size: 411 Bytes
Versions: 8
Compression:
Stored size: 411 Bytes
Contents
class YouTrack::Client::UpdateIssue < YouTrack::Client::Request def real(params={}) id = params.delete("id") service.request( :path => "/issue/#{id}", :method => :post, :query => params, ) end def mock(params={}) id = params.delete("id") issue = find(:issues, id) issue.merge!(params) service.data[:issues][id] = issue service.response end end
Version data entries
8 entries across 8 versions & 1 rubygems