Sha256: e075a611bd1402f58a05c3b55d752ab6d23845d606468319eb2480a8886a0117
Contents?: true
Size: 238 Bytes
Versions: 5
Compression:
Stored size: 238 Bytes
Contents
class YouTrack::Client::Request def find(collection, id, options={}) service.data.fetch(collection)[id] || service.response(status: 404, body: {"error" => "#{collection.to_s.gsub(/s\Z/, "").capitalize} not found."}) end end
Version data entries
5 entries across 5 versions & 1 rubygems