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

18 lines
254 B
Ruby
Raw Normal View History

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