module Godmin::Resources::ResourceService::ClassMethods
Public Instance Methods
attrs_for_export(*attrs)
click to toggle source
# File lib/godmin/resources/resource_service.rb, line 102 def attrs_for_export(*attrs) @attrs_for_export = attrs if attrs.present? @attrs_for_export || [] end
attrs_for_form(*attrs)
click to toggle source
# File lib/godmin/resources/resource_service.rb, line 97 def attrs_for_form(*attrs) @attrs_for_form = attrs if attrs.present? @attrs_for_form || [] end
attrs_for_index(*attrs)
click to toggle source
# File lib/godmin/resources/resource_service.rb, line 87 def attrs_for_index(*attrs) @attrs_for_index = attrs if attrs.present? @attrs_for_index || [] end
attrs_for_show(*attrs)
click to toggle source
# File lib/godmin/resources/resource_service.rb, line 92 def attrs_for_show(*attrs) @attrs_for_show = attrs if attrs.present? @attrs_for_show || [] end