Class: ActionController::RequestForgeryProtection::ProtectionMethods::NullSession::NullSessionHash
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| 
         Class Chain: 
        
          self,
          Rack::Session::Abstract::SessionHash
         
       | 
    |
| 
         Instance Chain: 
        
          self,
          Rack::Session::Abstract::SessionHash
         
       | 
    |
| Inherits: | 
        Rack::Session::Abstract::SessionHash
        
  | 
    
| Defined in: | actionpack/lib/action_controller/metal/request_forgery_protection.rb | 
Class Method Summary
- .new(req) ⇒ NullSessionHash constructor
 
Instance Attribute Summary
- #enabled? ⇒ Boolean readonly
 - #exists? ⇒ Boolean readonly
 
Instance Method Summary
- 
    
      #destroy  
    
    
no-op.
 
Constructor Details
    .new(req)  ⇒ NullSessionHash 
  
# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 278
def initialize(req) super(nil, req) @data = {} @loaded = true end
Instance Attribute Details
    #enabled?  ⇒ Boolean  (readonly)
  
  [ GitHub ]
# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 291
def enabled? false end
    #exists?  ⇒ Boolean  (readonly)
  
  [ GitHub ]
# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 287
def exists? true end
Instance Method Details
#destroy
no-op
# File 'actionpack/lib/action_controller/metal/request_forgery_protection.rb', line 285
def destroy; end