Sha256: 13c44aa1ba44e41504a3f81eaabc46c39316001a47875976483c47bf19776058
Contents?: true
Size: 550 Bytes
Versions: 6
Compression:
Stored size: 550 Bytes
Contents
# encoding: UTF-8 require_relative '../md_object' module GoodData module Model ## # Base class for GoodData attribute and fact folder abstractions # class Folder < MdObject def initialize(title) # TODO: should a super be here? # how to deal with name vs title? @title = title @name = GoodData::Helpers.sanitize_string(title) end def to_maql_create "CREATE FOLDER {#{type_prefix}.#{name}}" \ + " VISUAL (#{visual}) TYPE #{type};\n" end end end end
Version data entries
6 entries across 6 versions & 1 rubygems