summaryrefslogtreecommitdiff
path: root/lib/bitbucket/representation/base.rb
blob: 800d5a075c6841c962adfa7f2e132f357970c069 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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