Sha256: f3554b24a6fc227213fb7bd08436570110eb8b7edc4f11d2f40a509209b3f0ba
Contents?: true
Size: 412 Bytes
Versions: 3
Compression:
Stored size: 412 Bytes
Contents
# encoding: UTF-8 require_relative '../columns/attribute' module GoodData module Model ## # Time field that's not connected to a time-of-a-day dimension # class TimeAttribute < Attribute def type_prefix TIME_ATTRIBUTE_PREFIX end def key "#{TIME_COLUMN_PREFIX}#{super}" end def table @table ||= "#{super}_tm" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems