debian-mirror-gitlab/lib/bitbucket/representation/base.rb
2017-08-17 22:00:37 +05:30

15 lines
239 B
Ruby

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