module Scrivito class Revision < Struct.new(:id, :content_state, :workspace, :base) def initialize(options) super(*options.values_at(:id, :content_state, :workspace, :base)) end def base? !!base end end end