Sha256: b0637b02555e97cc3cf870a8e2d0ff079c4fcba7682dee766823131cdfdc0eeb
Contents?: true
Size: 495 Bytes
Versions: 6
Compression:
Stored size: 495 Bytes
Contents
module Locomotive module Steam class ContentTypeFieldSelectOptionRepository include Models::Repository attr_accessor :content_type_field # Entity mapping mapping :content_type_field_select_options, entity: ContentTypeField::SelectOption do default_attribute :field, -> (repository) { repository.content_type_field } localized_attributes :name end def all query { order_by(position: :asc) }.all end end end end
Version data entries
6 entries across 6 versions & 1 rubygems