debian-mirror-gitlab/lib/bitbucket/representation/base.rb
2018-12-13 13:39:08 +05:30

18 lines
270 B
Ruby

# frozen_string_literal: true
module Bitbucket
module Representation
class Base
attr_reader :raw
def initialize(raw)
@raw = raw
end
def self.decorate(entries)
entries.map { |entry| new(entry)}
end
end
end
end