class Qa::Configuration
Attributes
For linked data access, specify default language for sorting and selection. The default is only used if a language is not specified in the authority’s configuration file and not passed in as a parameter. (e.g. :en, [:en], or [:en, :fr])
When true, prevents ldpath requests from making additional network calls. All values will come from the context graph passed to the ldpath request.
Define default behavior for property_map.optional? when it is not defined in the configuration for a property. When false, properties that do not override default optional behavior will be shown whether or not the property has a value in the graph. When true, properties that do not override default optional behavior will not be shown whn the property does not have a value in the graph.
IP data including IP address, city, state, and country will be logged with each request. When false, IP data is logged When true, IP data will not be logged (default for backward compatibility)
Public Instance Methods
Source
# File lib/qa/configuration.rb, line 3 def cors_headers? return @cors_headers_enabled unless @cors_headers_enabled.nil? @cors_headers_enabled = false end
Source
# File lib/qa/configuration.rb, line 37 def default_language @default_language ||= :en end
Source
# File lib/qa/configuration.rb, line 12 def disable_cors_headers @cors_headers_enabled = false end
Source
# File lib/qa/configuration.rb, line 8 def enable_cors_headers @cors_headers_enabled = true end
Source
# File lib/qa/configuration.rb, line 44 def limit_ldpath_to_context? @limit_ldpath_to_context = true if @limit_ldpath_to_context.nil? @limit_ldpath_to_context end
Source
# File lib/qa/configuration.rb, line 53 def property_map_default_for_optional @property_map_default_for_optional = false if @property_map_default_for_optional.nil? @property_map_default_for_optional end
Source
# File lib/qa/configuration.rb, line 62 def suppress_ip_data_from_log @suppress_ip_data_from_log = true if @suppress_ip_data_from_log.nil? @suppress_ip_data_from_log end