Class: ActiveScaffold::Config::Refresh

Inherits:
Base show all
Defined in:
lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/refresh.rb

Constant Summary collapse

ActiveScaffold::DataStructures::ActionLink.new('refresh', :label => :refresh, :type => :table, :inline => true, :position => false, :security_method => :refresh_authorized?)

Instance Attribute Summary collapse

Attributes inherited from Base

#user

Instance Method Summary collapse

Methods inherited from Base

#crud_type, #formats, #formats=, inherited

Methods included from ActiveScaffold::Configurable

#configure, #method_missing

Constructor Details

#initialize(core_config) ⇒ Refresh

Returns a new instance of Refresh.



5
6
7
8
9
10
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/refresh.rb', line 5

def initialize(core_config)
  @core = core_config

  # start with the ActionLink defined globally
  @link = self.class.link.clone
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActiveScaffold::Configurable

Instance Attribute Details

the ActionLink for this action



20
21
22
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/refresh.rb', line 20

def link
  @link
end