module ActionController::Exportation
Private Instance Methods
build_exporter(resource, options)
click to toggle source
# File lib/action_controller/exportation.rb, line 32 def build_exporter(resource, options) if exporter = ActiveModel::ArrayExporter options[:scope] ||= exportation_scope exporter.new(resource, options) end end
exportation_scope()
click to toggle source
# File lib/action_controller/exportation.rb, line 27 def exportation_scope scope = self.class._exportation_scope send(scope) if scope && respond_to?(scope, true) end