Class: ActiveAdmin::ControllerAction
- Inherits:
 - 
      Object
      
        
- Object
 - ActiveAdmin::ControllerAction
 
 
- Defined in:
 - lib/active_admin/controller_action.rb
 
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute name.
 
Instance Method Summary collapse
- #http_verb ⇒ Object
 - 
  
    
      #initialize(name, options = {})  ⇒ ControllerAction 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ControllerAction.
 
Constructor Details
#initialize(name, options = {}) ⇒ ControllerAction
Returns a new instance of ControllerAction.
      5 6 7 8  | 
    
      # File 'lib/active_admin/controller_action.rb', line 5 def initialize(name, = {}) @name = name @options = end  | 
  
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
      4 5 6  | 
    
      # File 'lib/active_admin/controller_action.rb', line 4 def name @name end  | 
  
Instance Method Details
#http_verb ⇒ Object
      10 11 12  | 
    
      # File 'lib/active_admin/controller_action.rb', line 10 def http_verb @options[:method] ||= :get end  |