class Ez::Resources::Manager::ConfigStore

Attributes

actions[RW]
collection_columns[RW]
collection_query[RW]
collection_views[RW]
includes[RW]
model[RW]
paginate_collection[RW]
resource_label[RW]
resource_name[RW]
resources_name[RW]
show_action_renders_form[RW]

Public Instance Methods

collection_actions(&block) click to toggle source
# File lib/ez/resources/manager/config_store.rb, line 22
def collection_actions(&block)
  if block_given?
    @collection_actions = Fields.new(&block).actions
  else
    @collection_actions
  end
end
form_fields(&block) click to toggle source
# File lib/ez/resources/manager/config_store.rb, line 30
def form_fields(&block)
  if block_given?
    @form_fields = Fields.new(&block).fields
  else
    @form_fields
  end
end
hooks(&block) click to toggle source
# File lib/ez/resources/manager/config_store.rb, line 38
def hooks(&block)
  if block_given?
    @hooks = Hooks.new(&block).hooks
  else
    @hooks
  end
end