lib/browse_everything/auth/google/request_parameters.rb
def default_query
          field_queries = []
          contraints.each_pair do |field, constraints|
            field_constraint = constraints.join(" and #{field} ")
            field_queries << "#{field} #{field_constraint}"
          end
          field_queries.join(' ')
        end
# Overrides the constructor for an OpenStruct instance
# Provides default parameters
Overrides the constructor for an OpenStruct instance
Provides default parameters
Overrides the constructor for an OpenStruct instance Provides default parameters
def default_query
          field_queries = []
          contraints.each_pair do |field, constraints|
            field_constraint = constraints.join(" and #{field} ")
            field_queries << "#{field} #{field_constraint}"
          end
          field_queries.join(' ')
        end
def default_query field_queries = [ ] contraints . each_pair do | field , constraints | field_constraint = constraints . join ( " and #{field} " ) field_queries << "#{field} #{field_constraint}" end field_queries . join ( ' ' ) end
Overrides the constructor for an OpenStruct instance
Provides default parameters
Overrides the constructor for an OpenStruct instance Provides default parameters