Class: Decidim::Votings::Votes::PendingInPersonVotes
- Inherits:
 - 
      Query
      
        
- Object
 - Query
 - Decidim::Votings::Votes::PendingInPersonVotes
 
 
- Defined in:
 - app/queries/decidim/votings/votes/pending_in_person_votes.rb
 
Overview
A class used to find in person votes with a pending status
Class Method Summary collapse
- 
  
    
      .for  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Syntactic sugar to initialize the class and return the queried objects.
 
Instance Method Summary collapse
- 
  
    
      #query  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Finds the in person votes with pending status.
 
Class Method Details
.for ⇒ Object
Syntactic sugar to initialize the class and return the queried objects.
      9 10 11  | 
    
      # File 'app/queries/decidim/votings/votes/pending_in_person_votes.rb', line 9 def self.for new.query end  | 
  
Instance Method Details
#query ⇒ Object
Finds the in person votes with pending status
      14 15 16  | 
    
      # File 'app/queries/decidim/votings/votes/pending_in_person_votes.rb', line 14 def query Decidim::Votings::InPersonVote.pending end  |