Class: LanguageLayer::DetectOptions
- Inherits:
-
Object
- Object
- LanguageLayer::DetectOptions
- Includes:
- Hashable
- Defined in:
- lib/language_detection/detect/detect_options.rb
Instance Attribute Summary collapse
-
#access_key ⇒ Object
Returns the value of attribute access_key.
-
#query ⇒ Object
Returns the value of attribute query.
-
#show_query ⇒ Object
Returns the value of attribute show_query.
Instance Method Summary collapse
-
#initialize ⇒ DetectOptions
constructor
A new instance of DetectOptions.
Constructor Details
#initialize ⇒ DetectOptions
Returns a new instance of DetectOptions.
16 17 18 |
# File 'lib/language_detection/detect/detect_options.rb', line 16 def initialize() @query = nil end |
Instance Attribute Details
#access_key ⇒ Object
Returns the value of attribute access_key.
9 10 11 |
# File 'lib/language_detection/detect/detect_options.rb', line 9 def access_key @access_key end |
#query ⇒ Object
Returns the value of attribute query.
11 12 13 |
# File 'lib/language_detection/detect/detect_options.rb', line 11 def query @query end |
#show_query ⇒ Object
Returns the value of attribute show_query.
13 14 15 |
# File 'lib/language_detection/detect/detect_options.rb', line 13 def show_query @show_query end |