Sha256: 588c5a07b73167e120a500047b5af677799d08229f1c159dab7783fb8adf557a
Contents?: true
Size: 326 Bytes
Versions: 4
Compression:
Stored size: 326 Bytes
Contents
class YouTrack::Parser::StateBundleParser < YouTrack::Parser::Base def parse bundle = raw["stateBundle"] states = bundle.delete("state") bundle["states"] = states.inject([]) { |r,h| r << { "resolved" => h["isResolved"], "value" => h["__content__"], } } bundle end end
Version data entries
4 entries across 4 versions & 1 rubygems