Sha256: d1387fb01161d207475d5737f31cc12b7f21dbe6d6aa0140173efec7785aa26c
Contents?: true
Size: 196 Bytes
Versions: 4
Compression:
Stored size: 196 Bytes
Contents
class YouTrack::Parser::Base attr_reader :raw def initialize(raw) @raw = raw end def parse_fields(fields) fields.inject({}) { |r, f| r.merge(f["name"] => f["value"]) } end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
you_track-0.4.8 | lib/you_track/parser/base.rb |
you_track-0.4.7 | lib/you_track/parser/base.rb |
you_track-0.4.6 | lib/you_track/parser/base.rb |
you_track-0.4.5 | lib/you_track/parser/base.rb |