Sha256: 015c2777fa750003b74264819376d331dbf59589b1c4e345913bf24aded0fb1a

Contents?: true

Size: 525 Bytes

Versions: 1

Compression:

Stored size: 525 Bytes

Contents

# frozen_string_literal: true

module TranslationCms
  module Api
    class Certificate < Base
      extend EnumField::EnumeratedAttribute
      extend HstoreTranslate::Translates
      property :title_translations, type: :hash

      translates :title

      property :id,                  type: :integer
      property :title,               type: :string
      property :sort_order,          type: :integer
      property :certificate_type_id, type: :integer

      enumerated_attribute :certificate_type
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 lib/translation_cms/api/certificate.rb