Sha256: ee78ee1810cba0b045b14550d043800b619c415e3be2b44ff67156ae4a193148
Contents?: true
Size: 388 Bytes
Versions: 4
Compression:
Stored size: 388 Bytes
Contents
# frozen_string_literal: true module <%= resource_name_plural %> class Presenter < ResourcePresenter private def collection_fields <%= (read_fields - %i[id]).inspect %> end def detail_fields <%= (read_fields - %i[id]).inspect %> end def form_inputs <%= create_fields.inspect %> end def associations_list [] end end end
Version data entries
4 entries across 4 versions & 1 rubygems