Class: Quo::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/quo.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



32
33
34
35
36
37
38
# File 'lib/quo.rb', line 32

def initialize
  @formatted_query_log = true
  @query_show_callstack_size = 10
  @logger = nil
  @max_page_size = 200
  @default_page_size = 20
end

Instance Attribute Details

#default_page_sizeObject

Returns the value of attribute default_page_size.



26
27
28
# File 'lib/quo.rb', line 26

def default_page_size
  @default_page_size
end

#formatted_query_logObject

Returns the value of attribute formatted_query_log.



26
27
28
# File 'lib/quo.rb', line 26

def formatted_query_log
  @formatted_query_log
end

#loggerObject

Returns the value of attribute logger.



26
27
28
# File 'lib/quo.rb', line 26

def logger
  @logger
end

#max_page_sizeObject

Returns the value of attribute max_page_size.



26
27
28
# File 'lib/quo.rb', line 26

def max_page_size
  @max_page_size
end

#query_show_callstack_sizeObject

Returns the value of attribute query_show_callstack_size.



26
27
28
# File 'lib/quo.rb', line 26

def query_show_callstack_size
  @query_show_callstack_size
end