Class: Quo::Configuration
- Inherits:
-
Object
- Object
- Quo::Configuration
- Defined in:
- lib/quo.rb
Instance Attribute Summary collapse
-
#default_page_size ⇒ Object
Returns the value of attribute default_page_size.
-
#formatted_query_log ⇒ Object
Returns the value of attribute formatted_query_log.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#max_page_size ⇒ Object
Returns the value of attribute max_page_size.
-
#query_show_callstack_size ⇒ Object
Returns the value of attribute query_show_callstack_size.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_size ⇒ Object
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_log ⇒ Object
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 |
#logger ⇒ Object
Returns the value of attribute logger.
26 27 28 |
# File 'lib/quo.rb', line 26 def logger @logger end |
#max_page_size ⇒ Object
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_size ⇒ Object
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 |