BigW Consortium Gitlab

base.rb 254 Bytes
Newer Older
1 2 3 4 5 6 7
module Bitbucket
  module Representation
    class Base
      def initialize(raw)
        @raw = raw
      end

8 9 10 11
      def self.decorate(entries)
        entries.map { |entry| new(entry)}
      end

12 13 14 15 16 17
      private

      attr_reader :raw
    end
  end
end