mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-08-13 14:44:59 +00:00
18 lines
271 B
Ruby
18 lines
271 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
|