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