gitlab-org--gitlab-foss/lib/bitbucket_server/representation/base.rb

16 lines
245 B
Ruby

module BitbucketServer
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