Sha256: 576934ff383ea46c6213ae241122c2a5f2c5238456b734c4f5c39dd729f64ce1
Contents?: true
Size: 375 Bytes
Versions: 7
Compression:
Stored size: 375 Bytes
Contents
# frozen_string_literal: true # Generated with `rails generate valkyrie:model <%= class_name %>` class <%= class_name %> < Valkyrie::Resource include Valkyrie::Resource::AccessControls attribute :id, Valkyrie::Types::ID.optional <%- attributes.each do |att| -%> attribute :<%= att.name %>, Valkyrie::Types::<%= (att.type == :array) ? 'Array' : 'Set' %> <%- end -%> end
Version data entries
7 entries across 7 versions & 1 rubygems