17 lines
254 B
Ruby
17 lines
254 B
Ruby
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
|