2016-08-22 14:45:29 -04:00
|
|
|
module Bitbucket
|
|
|
|
module Representation
|
|
|
|
class Base
|
|
|
|
def initialize(raw)
|
|
|
|
@raw = raw
|
|
|
|
end
|
|
|
|
|
2016-12-07 07:00:06 -05:00
|
|
|
def self.decorate(entries)
|
|
|
|
entries.map { |entry| new(entry)}
|
|
|
|
end
|
|
|
|
|
2016-08-22 14:45:29 -04:00
|
|
|
private
|
|
|
|
|
|
|
|
attr_reader :raw
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|